Brett Chabot 1c06cb829c Hopefully fix validatekeymaps mac build.
Only link in libbinder for linux builds.

Bug: 172023026
Test: m validatekeymaps
Change-Id: Ibdcdfab2c5160644b9b9453e56a76d47f6d2b9b4
Merged-In: Ibdcdfab2c5160644b9b9453e56a76d47f6d2b9b4
2021-06-30 17:25:59 -07:00

49 lines
1.0 KiB
Plaintext

//
// Copyright 2010 The Android Open Source Project
//
// Keymap validation tool.
//
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "frameworks_base_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["frameworks_base_license"],
}
cc_binary_host {
name: "validatekeymaps",
srcs: ["Main.cpp"],
cflags: [
"-Wall",
"-Werror",
],
static_libs: [
"libbase",
"libinput",
"libutils",
"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,
},
},
}