4 aosp_dir = os.getenv("ANDROID_BUILD_TOP")
6 ## Autogenerated by LLVM/Clang configuration.
9 config.go_executable = ""
10 config.have_ocamlopt = ""
11 config.have_ocaml_ounit = ""
12 config.host_triple = "x86_64-unknown-linux-gnu"
13 config.target_triple = "x86_64-unknown-linux-gnu"
14 config.llvm_src_root = aosp_dir + "/external/llvm"
15 config.llvm_obj_root = aosp_dir + "/out/host/linux-x86/obj/test_llvm"
16 config.llvm_tools_dir = aosp_dir + "/out/host/linux-x86/bin"
17 config.llvm_shlib_dir = aosp_dir + "/out/host/linux-x86/lib64"
18 config.llvm_shlib_ext = ".so"
19 config.llvm_exe_ext = ""
20 config.lit_tools_dir = ""
21 config.python_executable = "/usr/bin/python"
22 config.ocaml_flags = ""
23 config.ocamlfind_executable = ""
24 config.enable_shared = 0
25 config.enable_assertions = 0
26 config.targets_to_build = " X86 AArch64 ARM Mips"
27 config.llvm_bindings = ""
28 config.host_cc = "clang"
29 config.host_cxx = "clang++"
30 config.host_ldflags = ""
31 config.host_os = "Linux"
32 config.host_arch = "x86_64"
33 config.llvm_use_intel_jitevents = "OFF"
34 config.llvm_use_sanitizer = ""
35 config.have_zlib = "0"
37 # Support substitution of the tools_dir with user parameters. This is
38 # used when we can't determine the tool dir at configuration time.
40 config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
41 config.llvm_shlib_dir = config.llvm_shlib_dir % lit_config.params
45 lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
47 # Let the main config do the real work.
48 lit_config.load_config(config, aosp_dir + "/external/llvm/test/lit.cfg")