Colin Cross | 68d6a92 | 2016-12-07 11:24:06 -0800 | [diff] [blame] | 1 | cc_binary_host { |
| 2 | name: "versioner", |
| 3 | |
| 4 | srcs: [ |
| 5 | "versioner.cpp", |
| 6 | "Arch.cpp", |
| 7 | "CompilationType.cpp", |
| 8 | "DeclarationDatabase.cpp", |
| 9 | "Driver.cpp", |
| 10 | "Preprocessor.cpp", |
| 11 | "SymbolDatabase.cpp", |
| 12 | "Utils.cpp", |
| 13 | "VFS.cpp", |
| 14 | ], |
| 15 | |
| 16 | shared_libs: [ |
| 17 | "libclang", |
| 18 | "libLLVM", |
| 19 | "libbase", |
| 20 | ], |
| 21 | |
| 22 | header_libs: [ |
| 23 | "llvm-headers", |
| 24 | "clang-headers", |
| 25 | ], |
| 26 | |
| 27 | cflags: [ |
| 28 | "-Wall", |
| 29 | "-Wextra", |
| 30 | "-Werror", |
| 31 | "-Wno-unused-parameter", |
| 32 | |
| 33 | "-D__STDC_CONSTANT_MACROS", |
| 34 | "-D__STDC_LIMIT_MACROS", |
| 35 | ], |
| 36 | |
| 37 | target: { |
| 38 | host: { |
| 39 | cppflags: [ |
Josh Gao | 0a284f5 | 2016-12-15 13:56:00 -0800 | [diff] [blame] | 40 | "-std=gnu++1z", |
Colin Cross | 68d6a92 | 2016-12-07 11:24:06 -0800 | [diff] [blame] | 41 | "-fno-rtti", |
| 42 | ], |
| 43 | }, |
Colin Cross | 68d6a92 | 2016-12-07 11:24:06 -0800 | [diff] [blame] | 44 | windows: { |
| 45 | enabled: false, |
| 46 | }, |
| 47 | }, |
Colin Cross | 68d6a92 | 2016-12-07 11:24:06 -0800 | [diff] [blame] | 48 | } |