blob: 7ee04642aafbb628954d9de6f1674ad2e2a0bacb [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}