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", |
Joe Bolinger | 3041e52 | 2022-04-15 17:50:08 -0700 | [diff] [blame] | 14 | init_rc: ["fingerprint-example.rc"], |
| 15 | vintf_fragments: ["fingerprint-example.xml"], |
Ilya Matyukhin | 124e70a | 2021-02-12 13:00:15 -0800 | [diff] [blame] | 16 | local_include_dirs: ["include"], |
| 17 | srcs: [ |
Joe Bolinger | de94aa0 | 2021-12-09 17:00:32 -0800 | [diff] [blame] | 18 | "FakeFingerprintEngine.cpp", |
Jeff Pu | 63f33c7 | 2022-07-28 16:06:23 -0400 | [diff] [blame] | 19 | "FakeFingerprintEngineRear.cpp", |
| 20 | "FakeFingerprintEngineUdfps.cpp", |
| 21 | "FakeFingerprintEngineSide.cpp", |
Ilya Matyukhin | 124e70a | 2021-02-12 13:00:15 -0800 | [diff] [blame] | 22 | "Fingerprint.cpp", |
| 23 | "Session.cpp", |
Ilya Matyukhin | 48ff896 | 2021-02-22 13:13:13 -0800 | [diff] [blame] | 24 | "main.cpp", |
Ilya Matyukhin | 124e70a | 2021-02-12 13:00:15 -0800 | [diff] [blame] | 25 | ], |
Ilya Matyukhin | a9a3c85 | 2020-08-18 03:09:41 -0700 | [diff] [blame] | 26 | shared_libs: [ |
| 27 | "libbase", |
| 28 | "libbinder_ndk", |
Joe Bolinger | ce02213 | 2021-09-28 19:04:47 +0000 | [diff] [blame] | 29 | "android.hardware.biometrics.fingerprint-V2-ndk", |
Joe Bolinger | 13cb0fb | 2021-12-03 12:45:48 -0800 | [diff] [blame] | 30 | "android.hardware.biometrics.common-V2-ndk", |
Joshua McCloskey | c8c0bad | 2022-05-10 05:17:44 +0000 | [diff] [blame] | 31 | "android.hardware.biometrics.common.thread", |
| 32 | "android.hardware.biometrics.common.util", |
Ilya Matyukhin | a9a3c85 | 2020-08-18 03:09:41 -0700 | [diff] [blame] | 33 | ], |
Trevor Radcliffe | c088612 | 2022-06-09 19:19:30 +0000 | [diff] [blame] | 34 | static_libs: ["libandroid.hardware.biometrics.fingerprint.VirtualProps"], |
Ilya Matyukhin | a9a3c85 | 2020-08-18 03:09:41 -0700 | [diff] [blame] | 35 | } |
Ilya Matyukhin | 1f3c852 | 2021-02-12 12:56:02 -0800 | [diff] [blame] | 36 | |
Joe Bolinger | de94aa0 | 2021-12-09 17:00:32 -0800 | [diff] [blame] | 37 | cc_test { |
| 38 | name: "android.hardware.biometrics.fingerprint.FakeFingerprintEngineTest", |
| 39 | local_include_dirs: ["include"], |
| 40 | srcs: [ |
Joe Bolinger | de94aa0 | 2021-12-09 17:00:32 -0800 | [diff] [blame] | 41 | "tests/FakeFingerprintEngineTest.cpp", |
| 42 | "FakeFingerprintEngine.cpp", |
| 43 | ], |
| 44 | shared_libs: [ |
| 45 | "libbase", |
| 46 | "libbinder_ndk", |
Jeff Pu | 63f33c7 | 2022-07-28 16:06:23 -0400 | [diff] [blame] | 47 | "android.hardware.biometrics.common.thread", |
| 48 | ], |
| 49 | static_libs: [ |
| 50 | "libandroid.hardware.biometrics.fingerprint.VirtualProps", |
| 51 | "android.hardware.biometrics.fingerprint-V2-ndk", |
| 52 | "android.hardware.biometrics.common-V2-ndk", |
| 53 | "android.hardware.keymaster-V3-ndk", |
| 54 | "android.hardware.biometrics.common.util", |
| 55 | ], |
| 56 | vendor: true, |
| 57 | test_suites: ["general-tests"], |
| 58 | require_root: true, |
| 59 | } |
| 60 | |
| 61 | cc_test { |
| 62 | name: "android.hardware.biometrics.fingerprint.FakeFingerprintEngineUdfpsTest", |
| 63 | local_include_dirs: ["include"], |
| 64 | srcs: [ |
| 65 | "tests/FakeFingerprintEngineUdfpsTest.cpp", |
| 66 | "FakeFingerprintEngineUdfps.cpp", |
| 67 | "FakeFingerprintEngine.cpp", |
| 68 | ], |
| 69 | shared_libs: [ |
| 70 | "libbase", |
| 71 | "libbinder_ndk", |
| 72 | "android.hardware.biometrics.common.thread", |
Joe Bolinger | de94aa0 | 2021-12-09 17:00:32 -0800 | [diff] [blame] | 73 | ], |
| 74 | static_libs: [ |
Trevor Radcliffe | c088612 | 2022-06-09 19:19:30 +0000 | [diff] [blame] | 75 | "libandroid.hardware.biometrics.fingerprint.VirtualProps", |
Joe Bolinger | de94aa0 | 2021-12-09 17:00:32 -0800 | [diff] [blame] | 76 | "android.hardware.biometrics.fingerprint-V2-ndk", |
| 77 | "android.hardware.biometrics.common-V2-ndk", |
| 78 | "android.hardware.keymaster-V3-ndk", |
Joshua McCloskey | c8c0bad | 2022-05-10 05:17:44 +0000 | [diff] [blame] | 79 | "android.hardware.biometrics.common.util", |
Joe Bolinger | de94aa0 | 2021-12-09 17:00:32 -0800 | [diff] [blame] | 80 | ], |
| 81 | vendor: true, |
| 82 | test_suites: ["general-tests"], |
| 83 | require_root: true, |
| 84 | } |
| 85 | |
| 86 | sysprop_library { |
| 87 | name: "android.hardware.biometrics.fingerprint.VirtualProps", |
| 88 | srcs: ["fingerprint.sysprop"], |
| 89 | property_owner: "Vendor", |
| 90 | vendor: true, |
| 91 | } |