blob: c5afa56d0424299d365c4047573be9c13e00e878 [file] [log] [blame]
Colin Cross68d6a922016-12-07 11:24:06 -08001cc_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 Gao0a284f52016-12-15 13:56:00 -080040 "-std=gnu++1z",
Colin Cross68d6a922016-12-07 11:24:06 -080041 "-fno-rtti",
42 ],
43 },
Colin Cross68d6a922016-12-07 11:24:06 -080044 windows: {
45 enabled: false,
46 },
47 },
Colin Cross68d6a922016-12-07 11:24:06 -080048}