Merge "adbd: compile a static version."
This commit is contained in:
commit
7a7c71b2b6
1 changed files with 46 additions and 0 deletions
|
|
@ -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 {
|
cc_binary {
|
||||||
name: "abb",
|
name: "abb",
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue