Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f81d1979 authored by Tom Cherry's avatar Tom Cherry Committed by android-build-merger
Browse files

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

am: 77d895b7

Change-Id: I68cdff95f0143b87d9d4453aa350ad1720637e58
parents 31cd4f16 77d895b7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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"],
}
}


+2 −4
Original line number Original line Diff line number Diff line
@@ -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",
+4 −2
Original line number Original line Diff line number Diff line
@@ -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",
+1 −1
Original line number Original line Diff line number Diff line
@@ -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: