1ba9d5cf9SNico Weberexecutable("c-arcmt-test") { 2ba9d5cf9SNico Weber configs += [ "//llvm/utils/gn/build:clang_code" ] 3527281a8SNico Weber deps = [ "//clang/tools/libclang" ] 4*1afd889dSNico Weber sources = [ "c-arcmt-test.c" ] 5ba9d5cf9SNico Weber 6ba9d5cf9SNico Weber # See comment at top of clang/tools/libclang/BUILD.gn for why this isn't 7ba9d5cf9SNico Weber # needed on Linux. 8ba9d5cf9SNico Weber if (host_os == "mac") { 9ba9d5cf9SNico Weber ldflags = [ "-Wl,-rpath,@loader_path/../lib" ] 10ba9d5cf9SNico Weber } 11ba9d5cf9SNico Weber} 12