1package {
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
10cc_binary {
11    name: "android.hardware.biometrics.fingerprint-service.example",
12    vendor: true,
13    relative_install_path: "hw",
14    init_rc: ["fingerprint-default.rc"],
15    vintf_fragments: ["fingerprint-default.xml"],
16    local_include_dirs: ["include"],
17    srcs: [
18        "CancellationSignal.cpp",
19        "Fingerprint.cpp",
20        "Session.cpp",
21        "WorkerThread.cpp",
22        "main.cpp",
23    ],
24    shared_libs: [
25        "libbase",
26        "libbinder_ndk",
27        "android.hardware.biometrics.fingerprint-V1-ndk_platform",
28        "android.hardware.biometrics.common-V1-ndk_platform",
29    ],
30}
31
32cc_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}
44