Dan Willemsen | d3eac26 | 2017-09-08 22:47:47 -0700 | [diff] [blame] | 1 | // |
| 2 | // Copyright 2010 The Android Open Source Project |
| 3 | // |
| 4 | // Keymap validation tool. |
| 5 | // |
| 6 | |
Bob Badour | 8a6a2bc | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 7 | package { |
| 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 Willemsen | d3eac26 | 2017-09-08 22:47:47 -0700 | [diff] [blame] | 16 | cc_binary_host { |
| 17 | name: "validatekeymaps", |
| 18 | |
| 19 | srcs: ["Main.cpp"], |
| 20 | |
| 21 | cflags: [ |
| 22 | "-Wall", |
| 23 | "-Werror", |
| 24 | ], |
| 25 | |
| 26 | static_libs: [ |
Siarhei Vishniakou | 8027876 | 2018-07-06 11:50:18 +0100 | [diff] [blame] | 27 | "libbase", |
Dan Willemsen | d3eac26 | 2017-09-08 22:47:47 -0700 | [diff] [blame] | 28 | "libinput", |
| 29 | "libutils", |
| 30 | "libcutils", |
| 31 | "liblog", |
chaviw | 929d80f | 2020-07-01 12:01:54 -0700 | [diff] [blame] | 32 | "libui-types", |
Dan Willemsen | d3eac26 | 2017-09-08 22:47:47 -0700 | [diff] [blame] | 33 | ], |
Brett Chabot | 4bfc650 | 2020-11-03 16:04:22 -0800 | [diff] [blame] | 34 | target: { |
Colin Cross | e8f6f0b | 2022-03-08 18:17:43 -0800 | [diff] [blame^] | 35 | host_linux: { |
Brett Chabot | 4bfc650 | 2020-11-03 16:04:22 -0800 | [diff] [blame] | 36 | static_libs: [ |
| 37 | // libbinder is only available for linux |
| 38 | "libbinder", |
| 39 | ], |
| 40 | }, |
| 41 | }, |
Dan Willemsen | d3eac26 | 2017-09-08 22:47:47 -0700 | [diff] [blame] | 42 | |
| 43 | // This tool is prebuilt if we're doing an app-only build. |
| 44 | product_variables: { |
| 45 | unbundled_build: { |
Brett Chabot | 4bfc650 | 2020-11-03 16:04:22 -0800 | [diff] [blame] | 46 | enabled: false, |
Dan Willemsen | d3eac26 | 2017-09-08 22:47:47 -0700 | [diff] [blame] | 47 | }, |
| 48 | }, |
| 49 | } |