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.nfc-service.example", 12 relative_install_path: "hw", 13 init_rc: ["nfc-service-example.rc"], 14 vintf_fragments: ["nfc-service-example.xml"], 15 vendor: true, 16 cflags: [ 17 "-Wall", 18 "-Wextra", 19 ], 20 shared_libs: [ 21 "libbase", 22 "liblog", 23 "libutils", 24 "libbinder_ndk", 25 "android.hardware.nfc-V1-ndk", 26 ], 27 srcs: [ 28 "main.cpp", 29 "Nfc.cpp", 30 "Vendor_hal_api.cpp", 31 ], 32} 33