[aws-sdk-cpp] Remove polly-sample feature. Fixes #3123.

This commit is contained in:
Robert Schumacher 2018-03-26 08:37:41 -07:00
parent 3e33a7751e
commit 6dc98bbcee
3 changed files with 3 additions and 8 deletions

View File

@ -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

View File

@ -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()

View File

@ -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")