Hopefully fix validatekeymaps mac build.

Only link in libbinder for linux builds.

Bug: 172023026
Test: m validatekeymaps
Change-Id: Ibdcdfab2c5160644b9b9453e56a76d47f6d2b9b4
Merged-In: Ibdcdfab2c5160644b9b9453e56a76d47f6d2b9b4
This commit is contained in:
Brett Chabot 2020-11-03 16:04:22 -08:00 committed by Yifan Hong
parent 7405010f23
commit 1c06cb829c

View File

@ -30,11 +30,19 @@ cc_binary_host {
"libcutils", "libcutils",
"liblog", "liblog",
], ],
target: {
linux_glibc: {
static_libs: [
// libbinder is only available for linux
"libbinder",
],
},
},
// This tool is prebuilt if we're doing an app-only build. // This tool is prebuilt if we're doing an app-only build.
product_variables: { product_variables: {
unbundled_build: { unbundled_build: {
enabled: false, enabled: false,
}, },
}, },
} }