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
|
cc_defaults {
name: "micro_bench_defaults",
srcs: ["micro_bench.cpp"],
cflags: [
"-Wall",
"-Werror",
"-Wno-error=unused-variable",
],
compile_multilib: "both",
multilib: {
lib64: {
suffix: "64",
},
},
}
cc_binary {
name: "micro_bench",
defaults: ["micro_bench_defaults"],
}
cc_binary {
name: "micro_bench_static",
defaults: ["micro_bench_defaults"],
static_libs: [
"libc",
"libm",
],
static_executable: true,
}
|