Statically link liblog to logd/logcat and their tests

logd/logcat use more symbols than the rest of the platform, so let's
statically link them for now while we understand the API that the
platform overall uses.

Test: build
Change-Id: I21ae1bd3ff9b310f099612fbe790f769712661df
This commit is contained in:
Tom Cherry 2019-01-17 11:37:22 -08:00
parent e181bf5116
commit 9e12433760
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: