1 executable("c-index-test") {
2 configs += [ "//llvm/utils/gn/build:clang_code" ]
4 "//clang/include/clang/Config",
8 "//clang/lib/Frontend",
10 "//clang/lib/Serialization",
11 "//clang/tools/libclang",
13 "//llvm/utils/gn/build/libs/xml",
15 if (host_os != "win") {
16 cflags_c = [ "-std=gnu89" ]
23 # See comment at top of clang/tools/libclang/BUILD.gn for why this isn't
25 if (host_os == "mac") {
26 ldflags = [ "-Wl,-rpath,@loader_path/../lib" ]