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

Commit 198a39ad authored by Peter Collingbourne's avatar Peter Collingbourne
Browse files

libpdx_default_transport: Link libselinux dynamically instead of statically.

The motivation of this change is to reduce binary size. On my sailfish-userdebug
build the size of libpdx_default_transport.so decreases by 416KB.

Change-Id: Ia4518127b02c3817bf1f3d351aac301a172cd9dd
parent fea8cb29
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ cc_library_shared {
        "liblog",
        "libutils",
        "libcrypto",
        "libselinux",
    ],
}

+1 −2
Original line number Diff line number Diff line
@@ -26,8 +26,6 @@ cc_library_static {
    ],
    shared_libs: [
        "libbinder",
    ],
    whole_static_libs: [
        "libselinux",
    ],
}
@@ -57,5 +55,6 @@ cc_test {
        "liblog",
        "libutils",
        "libbinder",
        "libselinux",
    ],
}