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, }, }, }