@@ -52,6 +52,7 @@ write_lit_cfg("lit_api_site_cfg") {
52
52
input = " //lldb/test/API/lit.site.cfg.py.in"
53
53
output = lldb_lit_api_site_cfg_file
54
54
extra_values = [
55
+ " DEFAULT_SYSROOT=" ,
55
56
" LIBCXX_LIBRARY_DIR=" + rebase_path (" $root_build_dir /lib" ),
56
57
" LIBCXX_GENERATED_INCLUDE_DIR=" +
57
58
rebase_path (" $root_build_dir /include/c++/v1" ),
@@ -73,6 +74,9 @@ write_lit_cfg("lit_api_site_cfg") {
73
74
" LLDB_TEST_MODULE_CACHE_LLDB=" +
74
75
rebase_path (
75
76
" $target_gen_dir /lldb-test-build.noindex/module-cache-lldb" ),
77
+ " LLDB_TEST_PLATFORM_URL=" ,
78
+ " LLDB_TEST_PLATFORM_WORKING_DIR=" ,
79
+ " LLDB_TEST_SYSROOT=" ,
76
80
" LLVM_BUILD_MODE=." ,
77
81
" LLVM_ENABLE_SHARED_LIBS=0" ,
78
82
" LLVM_HOST_TRIPLE=$llvm_current_triple " ,
@@ -98,10 +102,12 @@ write_lit_cfg("lit_shell_site_cfg") {
98
102
input = " //lldb/test/Shell/lit.site.cfg.py.in"
99
103
output = lldb_lit_shell_site_cfg_file
100
104
extra_values = [
101
- " CMAKE_SYSROOT=" ,
105
+ " DEFAULT_SYSROOT=" ,
106
+ " LIBCXX_LIBRARY_DIR=" + rebase_path (" $root_build_dir /lib" ),
102
107
" LLDB_ENABLE_LUA=0" , # FIXME: gn arg, use in Config.h
103
108
" LLDB_ENABLE_LZMA=0" , # FIXME: gn arg, use in Config.h
104
109
" LLDB_ENABLE_PYTHON=0" , # FIXME: gn arg, use in Config.h
110
+ " LLDB_HAS_LIBCXX=False" , # FIXME: support this (?)
105
111
" LLDB_IS_64_BITS=1" ,
106
112
" LLDB_LIBS_DIR=" , # FIXME: for shared builds only (?)
107
113
" LLDB_LIT_TOOLS_DIR=" , # Intentionally empty, matches cmake build.
@@ -113,6 +119,10 @@ write_lit_cfg("lit_shell_site_cfg") {
113
119
rebase_path (
114
120
" $target_gen_dir /lldb-test-build.noindex/module-cache-lldb" ),
115
121
" LLDB_TEST_OBJC_GNUSTEP_DIR=" ,
122
+ " LLDB_TEST_PLATFORM_URL=" ,
123
+ " LLDB_TEST_PLATFORM_WORKING_DIR=" ,
124
+ " LLDB_TEST_SHELL_DISABLE_REMOTE=True" ,
125
+ " LLDB_TEST_SYSROOT=" ,
116
126
" LLDB_TOOL_LLDB_SERVER_BUILD=1" ,
117
127
" LLDB_TOOLS_DIR=" + rebase_path (" $root_out_dir /bin" ),
118
128
" LLDB_USE_SYSTEM_DEBUGSERVER=1" , # XXX port //lldb/tools/debugserver (?)
0 commit comments