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

Commit 9e124337 authored by Tom Cherry's avatar Tom Cherry
Browse files

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
parent e181bf51
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -25,9 +25,9 @@ cc_defaults {
    shared_libs: [
        "libbase",
        "libcutils",
        "liblog",
        "libpcrecpp",
    ],
    static_libs: ["liblog"],
    logtags: ["event.logtags"],
}

+2 −4
Original line number Diff line number Diff line
@@ -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",
+4 −2
Original line number Diff line number Diff line
@@ -63,11 +63,13 @@ cc_binary {

    srcs: ["main.cpp"],

    static_libs: ["liblogd"],
    static_libs: [
        "liblog",
        "liblogd",
    ],

    shared_libs: [
        "libsysutils",
        "liblog",
        "libcutils",
        "libbase",
        "libpackagelistparser",
+1 −1
Original line number Diff line number Diff line
@@ -38,9 +38,9 @@ cc_defaults {
    shared_libs: [
        "libbase",
        "libcutils",
        "liblog",
        "libselinux",
    ],
    static_libs: ["liblog"],
}

// Build tests for the logger. Run with: