Files
frameworks_base/tools/validatekeymaps/Android.bp
Brett Chabot 4bfc6508ab Hopefully fix validatekeymaps mac build.
Only link in libbinder for linux builds.

Bug: 172023026
Test: m validatekeymaps
Change-Id: Ibdcdfab2c5160644b9b9453e56a76d47f6d2b9b4
2020-11-03 16:09:58 -08:00

41 lines
711 B
Plaintext

//
// Copyright 2010 The Android Open Source Project
//
// Keymap validation tool.
//
cc_binary_host {
name: "validatekeymaps",
srcs: ["Main.cpp"],
cflags: [
"-Wall",
"-Werror",
],
static_libs: [
"libbase",
"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,
},
},
}