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_st_nfc_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["hardware_st_nfc_license"], 8} 9 10cc_binary { 11 name: "android.hardware.nfc-service.st", 12 relative_install_path: "hw", 13 init_rc: ["nfc-service-default.rc"], 14 vintf_fragments: ["nfc-service-default.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 "nfc_nci.st21nfc.default", 27 ], 28 srcs: [ 29 "main.cpp", 30 "Nfc.cpp", 31 "hal_st21nfc.cc", 32 ], 33 arch: { 34 arm: { cflags: ["-DST_LIB_32"] }, 35 } 36} 37