blob: c3721efc7e31d4763e67f037c5981e2e721b52eb [file] [log] [blame]
cc_binary_host {
name: "versioner",
cpp_std: "gnu++17",
// b/117120485 bugprone-exception-escape hangs with DeclarationDatabase.cpp
tidy_checks: ["-bugprone-exception-escape"],
srcs: [
"versioner.cpp",
"Arch.cpp",
"CompilationType.cpp",
"DeclarationDatabase.cpp",
"Driver.cpp",
"Preprocessor.cpp",
"SymbolDatabase.cpp",
"SymbolFileParser.cpp",
"Utils.cpp",
"VFS.cpp",
],
shared_libs: [
"libclang_android",
"libLLVM_android",
"libbase",
],
header_libs: [
"llvm-headers",
"clang-headers",
],
cflags: [
"-Wall",
"-Wextra",
"-Werror",
"-Wno-unused-parameter",
"-fno-omit-frame-pointer",
"-D__STDC_CONSTANT_MACROS",
"-D__STDC_LIMIT_MACROS",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_BINDERS",
],
target: {
host: {
cppflags: [
"-fno-rtti",
],
},
windows: {
enabled: false,
},
},
}