diff options
| author | 2020-11-03 16:04:22 -0800 | |
|---|---|---|
| committer | 2021-06-30 17:25:59 -0700 | |
| commit | 1c06cb829cbb98e38f55641a7835ad377dac0c5a (patch) | |
| tree | e57ca381db21272a56b83cb5ed33ea8155d54bdb | |
| parent | 7405010f23758b09ac60e1e4b763efd4db3e253a (diff) | |
Hopefully fix validatekeymaps mac build.
Only link in libbinder for linux builds.
Bug: 172023026
Test: m validatekeymaps
Change-Id: Ibdcdfab2c5160644b9b9453e56a76d47f6d2b9b4
Merged-In: Ibdcdfab2c5160644b9b9453e56a76d47f6d2b9b4
| -rw-r--r-- | tools/validatekeymaps/Android.bp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/validatekeymaps/Android.bp b/tools/validatekeymaps/Android.bp index 9fcf034536fc..d80f0bdfdeb6 100644 --- a/tools/validatekeymaps/Android.bp +++ b/tools/validatekeymaps/Android.bp @@ -30,11 +30,19 @@ 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: { unbundled_build: { - enabled: false, + enabled: false, }, }, } |