From 6dc98bbcee6a00269dd93d61950d8ab4c55c3d0b Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Mon, 26 Mar 2018 08:37:41 -0700 Subject: [aws-sdk-cpp] Remove polly-sample feature. Fixes #3123. --- ports/aws-sdk-cpp/CONTROL | 3 --- ports/aws-sdk-cpp/compute_build_only.cmake | 3 --- ports/aws-sdk-cpp/generateFeatures.ps1 | 5 +++-- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/ports/aws-sdk-cpp/CONTROL b/ports/aws-sdk-cpp/CONTROL index 09b1c1a7f..44d263676 100644 --- a/ports/aws-sdk-cpp/CONTROL +++ b/ports/aws-sdk-cpp/CONTROL @@ -304,9 +304,6 @@ Description: C++ SDK for the AWS pinpoint service Feature: polly Description: C++ SDK for the AWS polly service -Feature: polly-sample -Description: C++ SDK for the AWS polly-sample service - Feature: pricing Description: C++ SDK for the AWS pricing service diff --git a/ports/aws-sdk-cpp/compute_build_only.cmake b/ports/aws-sdk-cpp/compute_build_only.cmake index de24a203a..a50ed2128 100644 --- a/ports/aws-sdk-cpp/compute_build_only.cmake +++ b/ports/aws-sdk-cpp/compute_build_only.cmake @@ -299,9 +299,6 @@ endif() if("polly" IN_LIST FEATURES) list(APPEND BUILD_ONLY polly) endif() -if("polly-sample" IN_LIST FEATURES) - list(APPEND BUILD_ONLY polly-sample) -endif() if("pricing" IN_LIST FEATURES) list(APPEND BUILD_ONLY pricing) endif() diff --git a/ports/aws-sdk-cpp/generateFeatures.ps1 b/ports/aws-sdk-cpp/generateFeatures.ps1 index cd61a794f..8c8b1a342 100644 --- a/ports/aws-sdk-cpp/generateFeatures.ps1 +++ b/ports/aws-sdk-cpp/generateFeatures.ps1 @@ -30,6 +30,7 @@ function GetDescription($dir, $modulename) $subfolders | % { $modulename = $_.name -replace "^aws-cpp-sdk-","" if ($modulename -match "-tests`$") { return } + if ($modulename -match "-sample`$") { return } if ($modulename -eq "core") { return } $controltext += @("") @@ -44,7 +45,7 @@ $subfolders | % { } Write-Verbose ($controltext -join "`n") -$controltext | out-file -enc ascii $ControlFile +[IO.File]::WriteAllText($ControlFile, ($controltext -join "`n")+"`n") Write-Verbose ($cmakefragmenttext -join "`n") -$cmakefragmenttext | out-file -enc ascii $CMakeFragmentFile +[IO.File]::WriteAllText($CMakeFragmentFile, ($cmakefragmenttext -join "`n") +"`n") -- cgit v1.2.3