Lines Matching +full:lldb +full:- +full:build
3 #import("//llvm/utils/gn/build/libs/xar/enable.gni")
4 import("//llvm/utils/gn/build/libs/xml/enable.gni")
5 import("//llvm/utils/gn/build/libs/zlib/enable.gni")
6 import("//llvm/utils/gn/build/write_cmake_config.gni")
18 rebase_path(get_label_info("//lldb", "target_out_dir")),
19 "LLDB_SOURCE_DIR=" + rebase_path("//lldb"),
23 "LLVM_LIT_TOOLS_DIR=", # Intentionally empty, matches cmake build.
33 write_cmake_config("lit-lldb-init") {
34 input = "//lldb/test/Shell/lit-lldb-init.in"
37 output = "$root_out_dir/obj/lldb/test/Shell/lit-lldb-init"
40 "$target_gen_dir/lldb-test-build.noindex/module-cache-lldb") ]
44 # Fully-qualified instead of relative for LIT_SITE_CFG_IN_HEADER.
45 input = "//lldb/test/lit.site.cfg.py.in"
51 # Fully-qualified instead of relative for LIT_SITE_CFG_IN_HEADER.
52 input = "//lldb/test/API/lit.site.cfg.py.in"
70 "LLDB_TEST_EXECUTABLE=" + rebase_path("$root_build_dir/bin/lldb"),
74 "$target_gen_dir/lldb-test-build.noindex/module-cache-clang"),
77 "$target_gen_dir/lldb-test-build.noindex/module-cache-lldb"),
95 # See comment for Windows solink in llvm/utils/gn/build/toolchain/BUILD.gn
103 # Fully-qualified instead of relative for LIT_SITE_CFG_IN_HEADER.
104 input = "//lldb/test/Shell/lit.site.cfg.py.in"
115 "LLDB_LIT_TOOLS_DIR=", # Intentionally empty, matches cmake build.
119 "$target_gen_dir/lldb-test-build.noindex/module-cache-clang"),
122 "$target_gen_dir/lldb-test-build.noindex/module-cache-lldb"),
130 "LLDB_USE_SYSTEM_DEBUGSERVER=1", # XXX port //lldb/tools/debugserver (?)
143 # See comment for Windows solink in llvm/utils/gn/build/toolchain/BUILD.gn
151 # Fully-qualified instead of relative for LIT_SITE_CFG_IN_HEADER.
152 input = "//lldb/test/Unit/lit.site.cfg.py.in"
160 action("lit-lldb-init-quiet") {
161 script = "//llvm/utils/gn/build/write_file.py"
162 outputs = [ "$root_out_dir/obj/lldb/test/Shell/lit-lldb-init-quiet" ]
165 "command source -C --silent-run true lit-lldb-init",
169 # This target should contain all dependencies of check-lldb.
171 # prerequisites for check-lldb but doesn't run check-lldb itself.
174 ":lit-lldb-init",
175 ":lit-lldb-init-quiet",
182 "//lldb/tools/driver:lldb",
183 "//lldb/tools/lldb-dap",
185 # XXX lldb-instr, darwin-debug, etc
186 "//lldb/tools/lldb-server",
187 "//lldb/tools/lldb-test",
188 "//lldb/utils/lit-cpuid",
190 #"//lldb/unittests",
194 "//llvm/tools/llvm-config",
195 "//llvm/tools/llvm-dwarfdump",
196 "//llvm/tools/llvm-dwp",
197 "//llvm/tools/llvm-mc",
198 "//llvm/tools/llvm-nm:symlinks",
199 "//llvm/tools/llvm-objcopy:symlinks",
200 "//llvm/tools/llvm-pdbutil",
201 "//llvm/tools/llvm-readobj:symlinks",
205 "//llvm/utils/llvm-lit",
207 "//llvm/utils/split-file",
212 # This is the action that runs all of lldb's tests, check-lldb.
213 action("check-lldb") {
214 script = "$root_out_dir/bin/llvm-lit"
219 "-sv",
222 outputs = [ "$target_gen_dir/run-lit" ] # Non-existing, so that ninja runs it
225 # Since check-lldb is always dirty, //:default doesn't depend on it so that
226 # it's not part of the default ninja target. Hence, check-lld shouldn't
227 # have any deps except :test, so that the default target is sure to build