blob: 41f0726017a28c0396b0eb0975d8979cc067ab90 [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",
17 "-std=gnu99",
18 ],
19}
20
21// ========================================================
22// Executable
23// ========================================================
24cc_binary {
25 name: "logwrapper",
26 srcs: ["logwrapper.c"],
27 static_libs: [
28 "liblog",
29 "liblogwrap",
30 "libcutils",
31 ],
32 cflags: [
33 "-Werror",
34 "-std=gnu99",
35 ],
36}