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

Commit d881d4f2 authored by Tao Bao's avatar Tao Bao
Browse files

uncrypt: Depend on commonly used shared libs.

We already have these shared libraries on device. And `uncrypt` doesn't
need to be statically linked (it wasn't, even prior to this change).

With this change, the size of uncrypt goes down from 139KiB to 33KiB
(aosp_marlin-userdebug).

Test: Build and flash on marlin. Trigger a factory reset (which calls
      `uncrypt` to set up the BCB).
Change-Id: I77e3c82e8ce3734019da75c48928d881cb7ef0f0
parent 0115b79c
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -24,13 +24,15 @@ cc_binary {
        "-Werror",
    ],

    static_libs: [
        "libbootloader_message",
        "libotautil",
        "libfs_mgr",
    shared_libs: [
        "libbase",
        "libbootloader_message",
        "libcutils",
        "liblog",
        "libfs_mgr",
    ],

    static_libs: [
        "libotautil",
    ],

    init_rc: [