36e0d390a2
Bug: http://b/32019064 Test: builds Change-Id: I18a1d816d63b64601485045070851f32d44e85eb
34 lines
723 B
Text
34 lines
723 B
Text
|
|
|
|
// ========================================================
|
|
// 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",
|
|
],
|
|
}
|
|
|
|
// ========================================================
|
|
// Executable
|
|
// ========================================================
|
|
cc_binary {
|
|
name: "logwrapper",
|
|
srcs: ["logwrapper.c"],
|
|
static_libs: [
|
|
"liblog",
|
|
"liblogwrap",
|
|
"libcutils",
|
|
],
|
|
cflags: [
|
|
"-Werror",
|
|
],
|
|
}
|