aboutsummaryrefslogtreecommitdiff
path: root/ports/aws-sdk-cpp
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-03-26 08:37:41 -0700
committerRobert Schumacher <roschuma@microsoft.com>2018-03-26 08:37:41 -0700
commit6dc98bbcee6a00269dd93d61950d8ab4c55c3d0b (patch)
tree32f7137ce81561532f89eb8aee9f04b105d39162 /ports/aws-sdk-cpp
parent3e33a7751e4d09fd5d5b9aead9b4ad8d7d9bd3e7 (diff)
downloadvcpkg-6dc98bbcee6a00269dd93d61950d8ab4c55c3d0b.tar.gz
vcpkg-6dc98bbcee6a00269dd93d61950d8ab4c55c3d0b.zip
[aws-sdk-cpp] Remove polly-sample feature. Fixes #3123.
Diffstat (limited to 'ports/aws-sdk-cpp')
-rw-r--r--ports/aws-sdk-cpp/CONTROL3
-rw-r--r--ports/aws-sdk-cpp/compute_build_only.cmake3
-rw-r--r--ports/aws-sdk-cpp/generateFeatures.ps15
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")