• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2
3// ========================================================
4// Static and shared library
5// ========================================================
6cc_library {
7    name: "liblogwrap",
8    srcs: ["logwrap.c"],
9    shared_libs: [
10        "libcutils",
11        "liblog",
12    ],
13    export_include_dirs: ["include"],
14    local_include_dirs: ["include"],
15    cflags: [
16        "-Werror",
17    ],
18}
19
20// ========================================================
21// Executable
22// ========================================================
23cc_binary {
24    name: "logwrapper",
25    srcs: ["logwrapper.c"],
26    static_libs: [
27        "liblog",
28        "liblogwrap",
29        "libcutils",
30    ],
31    cflags: [
32        "-Werror",
33    ],
34}
35
36// ========================================================
37// Benchmark
38// ========================================================
39cc_benchmark {
40    name: "android_fork_execvp_ext_benchmark",
41    srcs: [
42        "android_fork_execvp_ext_benchmark.cpp",
43    ],
44    shared_libs: [
45        "libbase",
46        "libcutils",
47        "liblog",
48        "liblogwrap",
49    ],
50    cflags: [
51        "-Werror",
52    ]
53}
54