-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroid.bp
42 lines (40 loc) · 984 Bytes
/
Android.bp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// NXP Configuration
android_app {
name: "Nfc",
srcs: [
"src/**/*.java",
"nxp/**/*.java",
":statslog-Nfc-java-gen",
],
platform_apis: true,
certificate: "platform",
jni_libs: ["libnfc_nci_jni"],
static_libs: ["androidx.legacy_legacy-support-v4"],
optimize: {
enabled: false,
},
}
genrule {
name: "statslog-Nfc-java-gen",
tools: ["stats-log-api-gen"],
cmd: "$(location stats-log-api-gen) --java $(out) --module nfc --javaPackage com.android.nfc"
+ " --javaClass NfcStatsLog",
out: ["com/android/nfc/NfcStatsLog.java"],
}
// NCI Configuration
android_app {
name: "NfcNci",
overrides: ["Nfc"],
srcs: [
"src/**/*.java",
"nci/**/*.java",
":statslog-Nfc-java-gen",
],
platform_apis: true,
certificate: "platform",
jni_libs: ["libnfc_nci_jni"],
static_libs: ["androidx.appcompat_appcompat"],
optimize: {
enabled: false,
},
}