1package { 2 default_applicable_licenses: ["bionic_tools_license"], 3} 4 5cc_binary_host { 6 name: "versioner", 7 8 defaults: ["llvm-build-host-tools-defaults"], 9 10 srcs: [ 11 "versioner.cpp", 12 "Arch.cpp", 13 "CompilationType.cpp", 14 "DeclarationDatabase.cpp", 15 "Driver.cpp", 16 "Preprocessor.cpp", 17 "SymbolDatabase.cpp", 18 "SymbolFileParser.cpp", 19 "Utils.cpp", 20 "VFS.cpp", 21 ], 22 23 shared_libs: [ 24 "libclang_cxx_host", 25 "libLLVM_host", 26 "libbase", 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