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

Commit 7a7c71b2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "adbd: compile a static version."

parents cc30f4d7 bde8c848
Loading
Loading
Loading
Loading
+46 −0
Original line number Diff line number Diff line
@@ -508,6 +508,52 @@ cc_binary {
    ],
}

cc_binary {
    name: "static_adbd",
    defaults: ["adbd_defaults", "host_adbd_supported"],

    recovery_available: false,
    static_executable: true,
    host_supported: false,

    srcs: [
        "daemon/main.cpp",
    ],

    cflags: [
        "-D_GNU_SOURCE",
        "-Wno-deprecated-declarations",
    ],

    strip: {
        keep_symbols: true,
    },

    static_libs: [
        "libadbd",
        "libadbd_services",
        "libasyncio",
        "libavb_user",
        "libbase",
        "libbootloader_message",
        "libcap",
        "libcrypto",
        "libcrypto_utils",
        "libcutils",
        "libdiagnose_usb",
        "libext4_utils",
        "libfec",
        "libfec_rs",
        "libfs_mgr",
        "liblog",
        "liblp",
        "libmdnssd",
        "libminijail",
        "libselinux",
        "libsquashfs_utils",
    ],
}

cc_binary {
    name: "abb",