File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ config.android_ndk_gcc_version = "@SWIFT_ANDROID_NDK_GCC_VERSION@"
36
36
config .coverage_mode = "@SWIFT_ANALYZE_CODE_COVERAGE@"
37
37
config .lldb_build_root = "@LLDB_BUILD_DIR@"
38
38
39
+ # Please remember to handle empty strings and/or unset variables correctly.
40
+
39
41
if "@SWIFT_ASAN_BUILD@" == "TRUE" :
40
42
config .available_features .add ("asan" )
41
43
else :
@@ -89,10 +91,10 @@ config.available_features.add("CMAKE_GENERATOR=@CMAKE_GENERATOR@")
89
91
if "@SWIFT_ENABLE_SOURCEKIT_TESTS@" == "TRUE" :
90
92
config .available_features .add ('sourcekit' )
91
93
92
- if "@SWIFT_ENABLE_GUARANTEED_NORMAL_ARGUMENTS@" == "FALSE" :
93
- config .available_features .add ('plus_one_runtime' )
94
- else :
94
+ if "@SWIFT_ENABLE_GUARANTEED_NORMAL_ARGUMENTS@" == "TRUE" :
95
95
config .available_features .add ('plus_zero_runtime' )
96
+ else :
97
+ config .available_features .add ('plus_one_runtime' )
96
98
97
99
# Let the main config do the real work.
98
100
if config .test_exec_root is None :
You can’t perform that action at this time.
0 commit comments