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_nxp_nfc_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["hardware_nxp_nfc_license"], 8} 9 10sysprop_library { 11 name: "NfcProps", 12 srcs: ["NfcProperties.sysprop"], 13 property_owner: "Vendor", 14 device_specific: true, 15} 16 17cc_library_shared { 18 name: "power_tracker", 19 proprietary: true, 20 cflags: [ 21 "-Wall", 22 "-Werror", 23 ], 24 srcs: [ 25 "src/phNxpNciHal_PowerTracker.cc", 26 "src/phNxpNciHal_PowerStats.cc", 27 ], 28 local_include_dirs: [ 29 "include", 30 ], 31 shared_libs: [ 32 "nfc_nci_nxp_snxxx", 33 "liblog", 34 "libbase", 35 "libbinder_ndk", 36 "//hardware/google/pixel:pixel_stateresidency_provider_aidl_interface-ndk", 37 "vendor.nxp.nxpnfc@2.0", // This is added to avoid compilation error 38 ], 39 header_libs: [ 40 "nfc_nci_nxp_snxxx_headers", 41 "libhardware_headers" 42 ], 43 static_libs: ["libNfcProps"], 44} 45 46cc_library_headers { 47 name: "power_tracker_headers", 48 vendor: true, 49 export_include_dirs: [ 50 "include", 51 ], 52} 53