Bob Badour | c22b35b | 2021-02-23 14:26:20 -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 | |
Ilya Matyukhin | a9a3c85 | 2020-08-18 03:09:41 -0700 | [diff] [blame] | 10 | cc_binary { |
| 11 | name: "android.hardware.biometrics.fingerprint-service.example", |
Ilya Matyukhin | 124e70a | 2021-02-12 13:00:15 -0800 | [diff] [blame] | 12 | vendor: true, |
Ilya Matyukhin | a9a3c85 | 2020-08-18 03:09:41 -0700 | [diff] [blame] | 13 | relative_install_path: "hw", |
| 14 | init_rc: ["fingerprint-default.rc"], |
| 15 | vintf_fragments: ["fingerprint-default.xml"], |
Ilya Matyukhin | 124e70a | 2021-02-12 13:00:15 -0800 | [diff] [blame] | 16 | local_include_dirs: ["include"], |
| 17 | srcs: [ |
Ilya Matyukhin | 48ff896 | 2021-02-22 13:13:13 -0800 | [diff] [blame] | 18 | "CancellationSignal.cpp", |
Ilya Matyukhin | 124e70a | 2021-02-12 13:00:15 -0800 | [diff] [blame] | 19 | "Fingerprint.cpp", |
| 20 | "Session.cpp", |
Ilya Matyukhin | 48ff896 | 2021-02-22 13:13:13 -0800 | [diff] [blame] | 21 | "WorkerThread.cpp", |
| 22 | "main.cpp", |
Ilya Matyukhin | 124e70a | 2021-02-12 13:00:15 -0800 | [diff] [blame] | 23 | ], |
Ilya Matyukhin | a9a3c85 | 2020-08-18 03:09:41 -0700 | [diff] [blame] | 24 | shared_libs: [ |
| 25 | "libbase", |
| 26 | "libbinder_ndk", |
Jiyong Park | d55d28a | 2021-08-09 09:47:37 +0900 | [diff] [blame^] | 27 | "android.hardware.biometrics.fingerprint-V1-ndk", |
| 28 | "android.hardware.biometrics.common-V1-ndk", |
Ilya Matyukhin | a9a3c85 | 2020-08-18 03:09:41 -0700 | [diff] [blame] | 29 | ], |
Ilya Matyukhin | a9a3c85 | 2020-08-18 03:09:41 -0700 | [diff] [blame] | 30 | } |
Ilya Matyukhin | 1f3c852 | 2021-02-12 12:56:02 -0800 | [diff] [blame] | 31 | |
| 32 | cc_test_host { |
| 33 | name: "android.hardware.biometrics.fingerprint.WorkerThreadTest", |
| 34 | local_include_dirs: ["include"], |
| 35 | srcs: [ |
| 36 | "tests/WorkerThreadTest.cpp", |
| 37 | "WorkerThread.cpp", |
| 38 | ], |
| 39 | shared_libs: [ |
| 40 | "libcutils", |
| 41 | ], |
| 42 | test_suites: ["general-tests"], |
| 43 | } |