1 cc_binary_host { 2 name: "versioner", 3 4 cpp_std: "gnu++17", 5 6 srcs: [ 7 "versioner.cpp", 8 "Arch.cpp", 9 "CompilationType.cpp", 10 "DeclarationDatabase.cpp", 11 "Driver.cpp", 12 "Preprocessor.cpp", 13 "SymbolDatabase.cpp", 14 "Utils.cpp", 15 "VFS.cpp", 16 ], 17 18 shared_libs: [ 19 "libclang_android", 20 "libLLVM_android", 21 "libbase", 22 ], 23 24 header_libs: [ 25 "llvm-headers", 26 "clang-headers", 27 ], 28 29 cflags: [ 30 "-Wall", 31 "-Wextra", 32 "-Werror", 33 "-Wno-unused-parameter", 34 "-fno-omit-frame-pointer", 35 36 "-D__STDC_CONSTANT_MACROS", 37 "-D__STDC_LIMIT_MACROS", 38 39 "-D_LIBCPP_ENABLE_CXX17_REMOVED_BINDERS", 40 ], 41 42 target: { 43 host: { 44 cppflags: [ 45 "-fno-rtti", 46 ], 47 }, 48 windows: { 49 enabled: false, 50 }, 51 }, 52 } 53