blob: ccb1aa609efae0c1647fd2c7d350cd135995c010 [file] [log] [blame]
Dan Willemsen45f05242016-07-12 22:10:56 -07001
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",
Dan Willemsen45f05242016-07-12 22:10:56 -070017 ],
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",
Dan Willemsen45f05242016-07-12 22:10:56 -070033 ],
34}
Narayan Kamathf7041932017-03-22 11:24:03 +000035
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}