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 cpp_std: "c++20", 19 srcs: ["Main.cpp"], 20 21 cflags: [ 22 "-Wall", 23 "-Werror", 24 "-Wextra", 25 ], 26 27 static_libs: [ 28 "libbase", 29 "libinput", 30 "libutils", 31 "libcutils", 32 "liblog", 33 "libui-types", 34 ], 35 shared_libs: [ 36 "libvintf", 37 ], 38 target: { 39 host_linux: { 40 static_libs: [ 41 // libbinder is only available for linux 42 "libbinder", 43 ], 44 }, 45 }, 46 47 // This tool is prebuilt if we're doing an app-only build. 48 product_variables: { 49 unbundled_build: { 50 enabled: false, 51 }, 52 }, 53} 54