1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5genrule { 6 name: "statslog-Nfc-java-gen", 7 tools: ["stats-log-api-gen"], 8 cmd: "$(location stats-log-api-gen) --java $(out) --module nfc --javaPackage com.android.nfc" 9 + " --javaClass NfcStatsLog", 10 out: ["com/android/nfc/NfcStatsLog.java"], 11} 12 13// NCI Configuration 14android_app { 15 name: "NfcNci", 16 srcs: [ 17 "src/**/*.java", 18 "nci/**/*.java", 19 ":statslog-Nfc-java-gen", 20 ], 21 platform_apis: true, 22 certificate: "platform", 23 jni_libs: ["libnfc_nci_jni"], 24 static_libs: ["androidx.appcompat_appcompat"], 25 optimize: { 26 enabled: false, 27 }, 28} 29