We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64f6f90 commit 0558c7eCopy full SHA for 0558c7e
llvm/utils/gn/secondary/lldb/test/BUILD.gn
@@ -1,6 +1,7 @@
1
import("//llvm/triples.gni")
2
3
#import("//llvm/utils/gn/build/libs/xar/enable.gni")
4
+import("//llvm/utils/gn/build/libs/curl/enable.gni")
5
import("//llvm/utils/gn/build/libs/xml/enable.gni")
6
import("//llvm/utils/gn/build/libs/zlib/enable.gni")
7
import("//llvm/utils/gn/build/write_cmake_config.gni")
@@ -91,6 +92,12 @@ write_lit_cfg("lit_api_site_cfg") {
91
92
} else {
93
extra_values += [ "SHLIBDIR=" + rebase_path("$root_out_dir/lib", dir) ]
94
}
95
+
96
+ if (llvm_enable_libcurl) {
97
+ extra_values += [ "LLVM_ENABLE_CURL=1" ]
98
+ } else {
99
+ extra_values += [ "LLVM_ENABLE_CURL=0" ] # Must be 0.
100
+ }
101
102
103
write_lit_cfg("lit_shell_site_cfg") {
0 commit comments