package { // See: http://go/android-license-faq // A large-scale-change added 'default_applicable_licenses' to import // all of the 'license_kinds' from "hardware_interfaces_license" // to get the below license kinds: // SPDX-license-identifier-Apache-2.0 default_applicable_licenses: ["hardware_interfaces_license"], } cc_binary { name: "android.hardware.biometrics.face-service.example", relative_install_path: "hw", init_rc: ["face-default.rc"], vintf_fragments: ["face-default.xml"], vendor: true, shared_libs: [ "libbase", "libbinder_ndk", "android.hardware.biometrics.face-V3-ndk", "android.hardware.biometrics.common-V3-ndk", "android.hardware.biometrics.common.thread", "android.hardware.biometrics.common.util", ], srcs: [ "main.cpp", "Face.cpp", "FakeFaceEngine.cpp", "Session.cpp", ], static_libs: ["libandroid.hardware.biometrics.face.VirtualProps"], } sysprop_library { name: "android.hardware.biometrics.face.VirtualProps", srcs: ["face.sysprop"], property_owner: "Vendor", vendor: true, } cc_test { name: "android.hardware.biometrics.face.FakeFaceEngineTest", srcs: [ "tests/FakeFaceEngineTest.cpp", "FakeFaceEngine.cpp", ], shared_libs: [ "libbase", "libbinder_ndk", ], static_libs: [ "libandroid.hardware.biometrics.face.VirtualProps", "android.hardware.biometrics.face-V3-ndk", "android.hardware.biometrics.common-V3-ndk", "android.hardware.keymaster-V4-ndk", "android.hardware.biometrics.common.util", ], vendor: true, test_suites: ["general-tests"], require_root: true, }