You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.2 KiB
55 lines
1.2 KiB
|
|
|
|
// ======================================================== |
|
// Static and shared library |
|
// ======================================================== |
|
cc_library { |
|
name: "liblogwrap", |
|
srcs: ["logwrap.c"], |
|
shared_libs: [ |
|
"libcutils", |
|
"liblog", |
|
], |
|
export_include_dirs: ["include"], |
|
local_include_dirs: ["include"], |
|
cflags: [ |
|
"-Werror", |
|
"-DMTK_LOGD_ENHANCE", |
|
], |
|
} |
|
|
|
// ======================================================== |
|
// Executable |
|
// ======================================================== |
|
cc_binary { |
|
name: "logwrapper", |
|
srcs: ["logwrapper.c"], |
|
static_libs: [ |
|
"liblog", |
|
"liblogwrap", |
|
"libcutils", |
|
], |
|
cflags: [ |
|
"-Werror", |
|
"-DMTK_LOGD_ENHANCE", |
|
], |
|
} |
|
|
|
// ======================================================== |
|
// Benchmark |
|
// ======================================================== |
|
cc_benchmark { |
|
name: "android_fork_execvp_ext_benchmark", |
|
srcs: [ |
|
"android_fork_execvp_ext_benchmark.cpp", |
|
], |
|
shared_libs: [ |
|
"libbase", |
|
"libcutils", |
|
"liblog", |
|
"liblogwrap", |
|
], |
|
cflags: [ |
|
"-Werror", |
|
] |
|
}
|
|
|