Merge "Statically link liblog to logd/logcat and their tests" am: 77d895b739
am: f81d1979ff
Change-Id: Iaa45652fd1d1b2c16ba454c5df299967568f26ac
This commit is contained in:
commit
f096e2d931
4 changed files with 8 additions and 8 deletions
|
|
@ -25,9 +25,9 @@ cc_defaults {
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libbase",
|
"libbase",
|
||||||
"libcutils",
|
"libcutils",
|
||||||
"liblog",
|
|
||||||
"libpcrecpp",
|
"libpcrecpp",
|
||||||
],
|
],
|
||||||
|
static_libs: ["liblog"],
|
||||||
logtags: ["event.logtags"],
|
logtags: ["event.logtags"],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -48,10 +48,8 @@ cc_benchmark {
|
||||||
cc_test {
|
cc_test {
|
||||||
name: "logcat-unit-tests",
|
name: "logcat-unit-tests",
|
||||||
defaults: ["logcat-tests-defaults"],
|
defaults: ["logcat-tests-defaults"],
|
||||||
shared_libs: [
|
shared_libs: ["libbase"],
|
||||||
"liblog",
|
static_libs: ["liblog"],
|
||||||
"libbase",
|
|
||||||
],
|
|
||||||
srcs: [
|
srcs: [
|
||||||
"logcat_test.cpp",
|
"logcat_test.cpp",
|
||||||
"logcatd_test.cpp",
|
"logcatd_test.cpp",
|
||||||
|
|
|
||||||
|
|
@ -63,11 +63,13 @@ cc_binary {
|
||||||
|
|
||||||
srcs: ["main.cpp"],
|
srcs: ["main.cpp"],
|
||||||
|
|
||||||
static_libs: ["liblogd"],
|
static_libs: [
|
||||||
|
"liblog",
|
||||||
|
"liblogd",
|
||||||
|
],
|
||||||
|
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libsysutils",
|
"libsysutils",
|
||||||
"liblog",
|
|
||||||
"libcutils",
|
"libcutils",
|
||||||
"libbase",
|
"libbase",
|
||||||
"libpackagelistparser",
|
"libpackagelistparser",
|
||||||
|
|
|
||||||
|
|
@ -38,9 +38,9 @@ cc_defaults {
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libbase",
|
"libbase",
|
||||||
"libcutils",
|
"libcutils",
|
||||||
"liblog",
|
|
||||||
"libselinux",
|
"libselinux",
|
||||||
],
|
],
|
||||||
|
static_libs: ["liblog"],
|
||||||
}
|
}
|
||||||
|
|
||||||
// Build tests for the logger. Run with:
|
// Build tests for the logger. Run with:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue