-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAndroid.bp
119 lines (109 loc) · 3.34 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
android_app_import {
name: "MotCamera2",
owner: "motorola",
apk: "proprietary/product/priv-app/MotCamera2/MotCamera2.apk",
presigned: true,
dex_preopt: {
enabled: false,
},
privileged: true,
required: [
"MotCamera2Tunner",
"MotoSignatureApp",
"init.motcamera2.rc",
"com.motorola.camera2.denali",
"deviceowner-configuration-com.motorola.camera2",
"privapp-permissions-com.motorola.camera2",
"hiddenapi-whitelist-com.motorola.camera2",
"libmcf_native_window_helper.motocamera",
"com.motorola.androidx.camera.extensions",
],
product_specific: true,
overrides: ["Snap", "Snap2", "SnapdragonCamera", "SnapdragonCamera2", "Camera", "Camera2"],
}
prebuilt_etc {
name: "init.motcamera2.rc",
owner: "motorola",
sub_dir: "init",
src: "proprietary/product/etc/init/init.motcamera2.rc",
filename_from_src: true,
product_specific: true,
}
prebuilt_etc {
name: "com.motorola.androidx.camera.extensions_permissions",
owner: "motorola",
sub_dir: "permissions",
src: "proprietary/product/etc/permissions/com.motorola.androidx.camera.extensions.xml",
filename_from_src: true,
product_specific: true,
}
prebuilt_etc {
name: "com.motorola.camera2.denali",
owner: "motorola",
sub_dir: "permissions",
src: "proprietary/product/etc/permissions/com.motorola.camera2.denali.xml",
filename_from_src: true,
product_specific: true,
}
prebuilt_etc {
name: "deviceowner-configuration-com.motorola.camera2",
owner: "motorola",
sub_dir: "permissions",
src: "proprietary/product/etc/permissions/deviceowner-configuration-com.motorola.camera2.xml",
filename_from_src: true,
product_specific: true,
}
prebuilt_etc {
name: "privapp-permissions-com.motorola.camera2",
owner: "motorola",
sub_dir: "permissions",
src: "proprietary/product/etc/permissions/privapp-permissions-com.motorola.camera2.xml",
filename_from_src: true,
product_specific: true,
}
prebuilt_etc {
name: "hiddenapi-whitelist-com.motorola.camera2",
owner: "motorola",
sub_dir: "sysconfig",
src: "proprietary/product/etc/sysconfig/hiddenapi-whitelist-com.motorola.camera2.xml",
filename_from_src: true,
product_specific: true,
}
prebuilt_etc {
name: "public.libraries-motocamera",
owner: "motorola",
src: "proprietary/system_ext/etc/public.libraries-motocamera.txt",
filename_from_src: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "libmcf_native_window_helper.motocamera",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/system_ext/lib/libmcf_native_window_helper.motocamera.so"],
},
android_arm64: {
srcs: ["proprietary/system_ext/lib64/libmcf_native_window_helper.motocamera.so"],
},
},
required: [
"public.libraries-motocamera",
],
compile_multilib: "both",
check_elf_files: false,
prefer: true,
system_ext_specific: true,
}
dex_import {
name: "com.motorola.androidx.camera.extensions",
owner: "motorola",
jars: ["proprietary/product/framework/com.motorola.androidx.camera.extensions.jar"],
required: [
"com.motorola.androidx.camera.extensions_permissions",
],
product_specific: true,
}