blob: 409bc10cc6eac288fce125b7337e5859c08a71f5 [file] [log] [blame]
cc_binary_host {
name: "versioner",
srcs: [
"versioner.cpp",
"Arch.cpp",
"CompilationType.cpp",
"DeclarationDatabase.cpp",
"Driver.cpp",
"Preprocessor.cpp",
"SymbolDatabase.cpp",
"Utils.cpp",
"VFS.cpp",
],
shared_libs: [
"libclang",
"libLLVM",
"libbase",
],
header_libs: [
"llvm-headers",
"clang-headers",
],
cflags: [
"-Wall",
"-Wextra",
"-Werror",
"-Wno-unused-parameter",
"-D__STDC_CONSTANT_MACROS",
"-D__STDC_LIMIT_MACROS",
],
target: {
host: {
cppflags: [
"-std=gnu++1z",
"-fno-rtti",
],
},
windows: {
enabled: false,
},
},
product_variables: {
unbundled_build: {
// Only do this when Clang is available.
enabled: false,
},
},
}