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,6 +30,14 @@ cc_binary_host {
"libcutils",
"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.
product_variables: {