summaryrefslogtreecommitdiff
path: root/micro_bench/Android.bp
blob: f36b4ca5469d291bc7d6c428f0d4ebe235e41246 (plain)
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
cc_defaults {
    name: "micro_bench_defaults",
    srcs: ["micro_bench.cpp"],

    cflags: [
        "-Wall",
        "-Werror",
    ],

    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,
}