1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
cc_defaults {
name: "mcld-defaults",
defaults: ["llvm-defaults"],
cppflags: [
"-Wall",
"-Wno-unused-parameter",
"-Wno-unused-private-field",
"-Wno-unused-const-variable",
"-Werror",
//To enable asserts:
//"-D_DEBUG",
//"-UNDEBUG",
],
target: {
arm_on_x86: {
cflags: [
"-DPROVIDE_ARM_CODEGEN",
"-DFORCE_BUILD_ARM",
],
},
arm_on_x86_64: {
cflags: [
"-DPROVIDE_ARM_CODEGEN",
"-DFORCE_BUILD_ARM",
],
},
},
include_dirs: [
"frameworks/compile/mclinker/include",
],
}
subdirs = [
"lib",
"tools/mcld",
]
|