blob: 25373f9e9e2f038d5b1c040f8817ee811991795f [file] [log] [blame]
Dan Willemsend3eac262017-09-08 22:47:47 -07001//
2// Copyright 2010 The Android Open Source Project
3//
4// Keymap validation tool.
5//
6
Bob Badour8a6a2bc2021-02-12 17:07:05 -08007package {
8 // See: http://go/android-license-faq
9 // A large-scale-change added 'default_applicable_licenses' to import
10 // all of the 'license_kinds' from "frameworks_base_license"
11 // to get the below license kinds:
12 // SPDX-license-identifier-Apache-2.0
13 default_applicable_licenses: ["frameworks_base_license"],
14}
15
Dan Willemsend3eac262017-09-08 22:47:47 -070016cc_binary_host {
17 name: "validatekeymaps",
18
19 srcs: ["Main.cpp"],
20
21 cflags: [
22 "-Wall",
23 "-Werror",
Siarhei Vishniakoudf6630a2022-05-18 13:34:55 -070024 "-Wextra",
Dan Willemsend3eac262017-09-08 22:47:47 -070025 ],
26
27 static_libs: [
Siarhei Vishniakou80278762018-07-06 11:50:18 +010028 "libbase",
Dan Willemsend3eac262017-09-08 22:47:47 -070029 "libinput",
30 "libutils",
31 "libcutils",
32 "liblog",
chaviw929d80f2020-07-01 12:01:54 -070033 "libui-types",
Dan Willemsend3eac262017-09-08 22:47:47 -070034 ],
Siarhei Vishniakoudf6630a2022-05-18 13:34:55 -070035 shared_libs: [
36 "libvintf",
37 ],
Brett Chabot4bfc6502020-11-03 16:04:22 -080038 target: {
Colin Crosse8f6f0b2022-03-08 18:17:43 -080039 host_linux: {
Brett Chabot4bfc6502020-11-03 16:04:22 -080040 static_libs: [
41 // libbinder is only available for linux
42 "libbinder",
43 ],
44 },
45 },
Dan Willemsend3eac262017-09-08 22:47:47 -070046
47 // This tool is prebuilt if we're doing an app-only build.
48 product_variables: {
49 unbundled_build: {
Brett Chabot4bfc6502020-11-03 16:04:22 -080050 enabled: false,
Dan Willemsend3eac262017-09-08 22:47:47 -070051 },
52 },
53}