Merge "Statically link liblog to logd/logcat and their tests"

This commit is contained in:
Tom Cherry 2019-01-17 22:27:43 +00:00 committed by Gerrit Code Review
commit 77d895b739
4 changed files with 8 additions and 8 deletions

View file

@ -25,9 +25,9 @@ cc_defaults {
shared_libs: [
"libbase",
"libcutils",
"liblog",
"libpcrecpp",
],
static_libs: ["liblog"],
logtags: ["event.logtags"],
}

View file

@ -48,10 +48,8 @@ cc_benchmark {
cc_test {
name: "logcat-unit-tests",
defaults: ["logcat-tests-defaults"],
shared_libs: [
"liblog",
"libbase",
],
shared_libs: ["libbase"],
static_libs: ["liblog"],
srcs: [
"logcat_test.cpp",
"logcatd_test.cpp",

View file

@ -63,11 +63,13 @@ cc_binary {
srcs: ["main.cpp"],
static_libs: ["liblogd"],
static_libs: [
"liblog",
"liblogd",
],
shared_libs: [
"libsysutils",
"liblog",
"libcutils",
"libbase",
"libpackagelistparser",

View file

@ -38,9 +38,9 @@ cc_defaults {
shared_libs: [
"libbase",
"libcutils",
"liblog",
"libselinux",
],
static_libs: ["liblog"],
}
// Build tests for the logger. Run with: