Siarhei Vishniakou | 88d18bf | 2022-01-20 09:58:24 -0800 | [diff] [blame] | 1 | package { |
| 2 | // See: http://go/android-license-faq |
| 3 | // A large-scale-change added 'default_applicable_licenses' to import |
| 4 | // all of the 'license_kinds' from "hardware_interfaces_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 8 | } |
| 9 | |
| 10 | cc_library_static { |
| 11 | name: "libinputprocessorexampleimpl", |
| 12 | vendor: true, |
| 13 | shared_libs: [ |
| 14 | "libbase", |
| 15 | "libbinder_ndk", |
| 16 | "liblog", |
| 17 | "libutils", |
| 18 | "android.hardware.input.common-V1-ndk", |
| 19 | "android.hardware.input.processor-V1-ndk", |
| 20 | ], |
| 21 | export_include_dirs: ["include"], |
| 22 | srcs: [ |
| 23 | "InputProcessor.cpp", |
| 24 | ], |
| 25 | visibility: [ |
| 26 | ":__subpackages__", |
| 27 | "//hardware/interfaces/tests/extension/input/processor:__subpackages__", |
| 28 | ], |
| 29 | } |
| 30 | |
| 31 | filegroup { |
| 32 | name: "android.hardware.input.processor.xml", |
| 33 | srcs: ["android.hardware.input.processor.xml"], |
| 34 | } |
| 35 | |
| 36 | cc_binary { |
| 37 | name: "android.hardware.input.processor-service.example", |
| 38 | relative_install_path: "hw", |
| 39 | init_rc: ["inputprocessor-default.rc"], |
| 40 | vintf_fragments: [":android.hardware.input.processor.xml"], |
| 41 | vendor: true, |
| 42 | shared_libs: [ |
| 43 | "libbase", |
| 44 | "libbinder_ndk", |
| 45 | "liblog", |
| 46 | "libutils", |
| 47 | "android.hardware.input.common-V1-ndk", |
| 48 | "android.hardware.input.processor-V1-ndk", |
| 49 | ], |
| 50 | static_libs: [ |
| 51 | "libinputprocessorexampleimpl", |
| 52 | ], |
| 53 | srcs: ["main.cpp"], |
| 54 | } |