Hopefully fix validatekeymaps mac build.

Only link in libbinder for linux builds.

Bug: 172023026
Test: m validatekeymaps
Change-Id: Ibdcdfab2c5160644b9b9453e56a76d47f6d2b9b4
This commit is contained in:
Brett Chabot
2020-11-03 16:04:22 -08:00
parent 8e5bcf841b
commit 4bfc6508ab

View File

@@ -16,18 +16,25 @@ cc_binary_host {
static_libs: [
"libbase",
"libbinder",
"libinput",
"libutils",
"libcutils",
"liblog",
"libui-types",
],
target: {
linux_glibc: {
static_libs: [
// libbinder is only available for linux
"libbinder",
],
},
},
// This tool is prebuilt if we're doing an app-only build.
product_variables: {
unbundled_build: {
enabled: false,
enabled: false,
},
},
}