-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroid.bp
94 lines (80 loc) · 1.48 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
cc_prebuilt_library_shared {
name: "libdtaNfaProvider",
proprietary: false,
owner: "st",
system_ext_specific: true,
compile_multilib: "both",
shared_libs: [
"libcutils",
"libutils",
"liblog",
"libdl",
"libchrome",
"libbase",
"libc++",
"libc",
"libm",
"libstnfc-nci",
],
target: {
android_arm: {
srcs: ["bin/arm/libdtaNfaProvider.so"],
},
android_arm64: {
srcs: ["bin/arm64/libdtaNfaProvider.so"],
},
},
strip: {
none:true,
},
}
cc_prebuilt_library_shared {
name: "libnfc_st_dta",
proprietary: false,
owner: "st",
system_ext_specific: true,
compile_multilib: "both",
shared_libs: [
"libcutils",
"libutils",
"liblog",
"libbase",
"libdtaNfaProvider",
],
export_include_dirs :
[
"inc",
],
target: {
android_arm: {
srcs: ["bin/arm/libnfc_st_dta.so"],
},
android_arm64: {
srcs: ["bin/arm64/libnfc_st_dta.so"],
},
},
strip: {
none:true,
},
}
prebuilt_etc {
name: "ixitdata.xml",
proprietary: false,
owner: "st",
src: "res/ixitdata_micropross.xml",
}
android_app_import {
name: "STNFCDta",
system_ext_specific: true,
owner: "st",
// Make sure the build system doesn't try to resign the APK
dex_preopt: {
enabled: false,
},
arch: {
arm64: {
apk: "bin/STNFCDta.apk",
},
},
presigned: true,
}