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, }, }, }