1//
2// Copyright 2010 The Android Open Source Project
3//
4// Keymap validation tool.
5//
6
7package {
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
16cc_binary_host {
17    name: "validatekeymaps",
18
19    srcs: ["Main.cpp"],
20
21    cflags: [
22        "-Wall",
23        "-Werror",
24    ],
25
26    static_libs: [
27        "libbase",
28        "libinput",
29        "libutils",
30        "libcutils",
31        "liblog",
32        "libui-types",
33    ],
34    target: {
35        linux_glibc: {
36            static_libs: [
37                // libbinder is only available for linux
38                "libbinder",
39            ],
40        },
41    },
42
43    // This tool is prebuilt if we're doing an app-only build.
44    product_variables: {
45        unbundled_build: {
46            enabled: false,
47        },
48    },
49}
50