| Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 1 |  | 
|  | 2 |  | 
|  | 3 | // ======================================================== | 
|  | 4 | // Static and shared library | 
|  | 5 | // ======================================================== | 
|  | 6 | cc_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 Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 17 | ], | 
|  | 18 | } | 
|  | 19 |  | 
|  | 20 | // ======================================================== | 
|  | 21 | // Executable | 
|  | 22 | // ======================================================== | 
|  | 23 | cc_binary { | 
|  | 24 | name: "logwrapper", | 
|  | 25 | srcs: ["logwrapper.c"], | 
|  | 26 | static_libs: [ | 
|  | 27 | "liblog", | 
|  | 28 | "liblogwrap", | 
|  | 29 | "libcutils", | 
|  | 30 | ], | 
|  | 31 | cflags: [ | 
|  | 32 | "-Werror", | 
| Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 33 | ], | 
|  | 34 | } | 
| Narayan Kamath | f704193 | 2017-03-22 11:24:03 +0000 | [diff] [blame] | 35 |  | 
|  | 36 | // ======================================================== | 
|  | 37 | // Benchmark | 
|  | 38 | // ======================================================== | 
|  | 39 | cc_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 | } |