forked from alqix/vendor_xiaomi_miuicamera-rubyx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.bp
125 lines (116 loc) · 3.62 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
119
120
121
122
123
124
// Automatically generated file. DO NOT MODIFY
//
// This file is generated by device/xiaomi/miuicamera-rubyx/setup-makefiles.sh
soong_namespace {
imports: [
"device/xiaomi/miuicamera-rubyx"
],
}
cc_prebuilt_library_shared {
name: "libcamera_algoup_jni.xiaomi",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/system_ext/lib64/libcamera_algoup_jni.xiaomi.so"],
shared_libs: ["libgui_shim_miuicamera", "libgui_shim_miuicamera", "libbinder", "libcamera_client", "libcamera_metadata", "libcutils", "libgui", "liblog", "libutils", "libvndksupport", "libc++", "libc", "libm", "libdl", ],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "libcamera_ispinterface_jni.xiaomi",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/system_ext/lib64/libcamera_ispinterface_jni.xiaomi.so"],
shared_libs: ["libgui_shim_miuicamera", "libgui_shim_miuicamera", "libandroid_runtime", "libbinder", "libcamera_client", "libcamera_metadata", "libcutils", "libgui", "libhidlbase", "libhidltransport", "liblog", "libmedia", "libnativehelper", "libui", "libutils", "libvndksupport", "[email protected]_system", "vendor.mediatek.hardware.camera.isphal-V1-ndk", "libbinder_ndk", "libmtkisp_metadata_sys", "libc++", "libc", "libm", "libdl", ],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "libcamera_mianode_jni.xiaomi",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/system_ext/lib64/libcamera_mianode_jni.xiaomi.so"],
shared_libs: ["libgui_shim_miuicamera", "libgui_shim_miuicamera", "libvndksupport", "libcamera_client", "libcamera_metadata", "libgui", "libbinder", "libutils", "libcutils", "liblog", "libxml2", "libc++", "libc", "libm", "libdl", ],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "libmtkisp_metadata_sys",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/system_ext/lib64/libmtkisp_metadata_sys.so"],
shared_libs: ["libui", "liblog", "libutils", "libc++", "libc", "libm", "libdl", ],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.mediatek.hardware.camera.isphal-V1-ndk",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/system_ext/lib64/vendor.mediatek.hardware.camera.isphal-V1-ndk.so"],
shared_libs: ["libbinder_ndk", "android.hardware.common-V2-ndk", "android.hardware.graphics.common-V5-ndk", "libc++", "libc", "libm", "libdl", ],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "[email protected]_system",
stem: "[email protected]",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/system_ext/lib64/[email protected]"],
shared_libs: ["[email protected]", "[email protected]", "libhidlbase", "liblog", "libutils", "libcutils", "libc++", "libc", "libm", "libdl", ],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
android_app_import {
name: "MiuiCamera",
owner: "xiaomi",
apk: "proprietary/system_ext/priv-app/MiuiCamera/MiuiCamera.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}