1cc_binary_host { 2 name: "versioner", 3 4 defaults: ["llvm-build-host-tools-defaults"], 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 "SymbolFileParser.cpp", 15 "Utils.cpp", 16 "VFS.cpp", 17 ], 18 19 shared_libs: [ 20 "libclang_cxx_host", 21 "libLLVM_host", 22 "libbase", 23 ], 24 25 cflags: [ 26 "-Wall", 27 "-Wextra", 28 "-Werror", 29 "-Wno-unused-parameter", 30 "-fno-omit-frame-pointer", 31 32 "-D__STDC_CONSTANT_MACROS", 33 "-D__STDC_LIMIT_MACROS", 34 35 "-D_LIBCPP_ENABLE_CXX17_REMOVED_BINDERS", 36 ], 37 38 target: { 39 host: { 40 cppflags: [ 41 "-fno-rtti", 42 ], 43 }, 44 windows: { 45 enabled: false, 46 }, 47 }, 48} 49