Compare commits
7 Commits
90fb7b9799
...
lineage-23
| Author | SHA1 | Date | |
|---|---|---|---|
| b68d4e6772 | |||
| 2e6bd74511 | |||
| 6e522874ad | |||
| 3d78ad4139 | |||
| 0ab7f5a7d6 | |||
| bd1e531865 | |||
| 2203809ae0 |
655
Android.bp
655
Android.bp
@@ -1,655 +0,0 @@
|
||||
// Automatically generated file. DO NOT MODIFY
|
||||
//
|
||||
// This file is generated by device/oplus/camera/setup-makefiles.sh
|
||||
|
||||
soong_namespace {
|
||||
imports: [
|
||||
],
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libpenguin",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/vendor/lib64/libpenguin.so"],
|
||||
shared_libs: ["libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libAPSClient-cmd-jni",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libAPSClient-cmd-jni.so"],
|
||||
shared_libs: ["libvndksupport", "liblog", "libandroid", "libnativewindow", "libjnigraphics", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libAPSClient-jni",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libAPSClient-jni.so"],
|
||||
shared_libs: ["libvndksupport", "liblog", "libandroid", "libnativewindow", "libjnigraphics", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libAncFilter_jni",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libAncFilter_jni.so"],
|
||||
shared_libs: ["liblog", "libm", "libdl", "libc", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libAncHumBokeh-jni",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libAncHumBokeh-jni.so"],
|
||||
shared_libs: ["libjnigraphics", "liblog", "libm", "libdl", "libc", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libAncHumanDoubleExposure-jni",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libAncHumanDoubleExposure-jni.so"],
|
||||
shared_libs: ["libjnigraphics", "liblog", "libEGL", "libGLESv3", "libandroid", "libm", "libdl", "libc", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libAncHumanRetain-jni_v2",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libAncHumanRetain-jni_v2.so"],
|
||||
shared_libs: ["libjnigraphics", "liblog", "libEGL", "libGLESv3", "libandroid", "libm", "libdl", "libc", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libAncHumanSegFigureFusion-jni",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libAncHumanSegFigureFusion-jni.so"],
|
||||
shared_libs: ["libjnigraphics", "liblog", "libEGL", "libGLESv3", "libandroid", "libm", "libdl", "libc", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libAncHumanVideo-jni",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libAncHumanVideo-jni.so"],
|
||||
shared_libs: ["libjnigraphics", "liblog", "libm", "libdl", "libc", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libApsFaceBeautyPreviewProductJni",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libApsFaceBeautyPreviewProductJni.so"],
|
||||
shared_libs: ["libvndksupport", "liblog", "libandroid", "libjnigraphics", "libEGL", "libGLESv1_CM", "libGLESv3", "libz", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libAvatarEngineRender",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libAvatarEngineRender.so"],
|
||||
shared_libs: ["liblog", "libdl", "libandroid", "libz", "libGLESv3", "libEGL", "libstdc++", "libm", "libc", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libAvatarEngineRenderNative",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libAvatarEngineRenderNative.so"],
|
||||
shared_libs: ["libAvatarEngineRender", "liblog", "libdl", "libandroid", "libz", "libGLESv3", "libEGL", "libstdc++", "libm", "libc", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libCombineLut",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libCombineLut.so"],
|
||||
shared_libs: ["liblog", "libGLESv3", "libEGL", "libdl", "libc", "libm", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libCombineLutJni",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libCombineLutJni.so"],
|
||||
shared_libs: ["libCombineLut", "liblog", "libandroid", "libjnigraphics", "libEGL", "libGLESv1_CM", "libGLESv3", "libz", "libc", "libm", "libstdc++", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libFileExtender-jni",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libFileExtender-jni.so"],
|
||||
shared_libs: ["liblog", "libandroid", "libEGL", "libGLESv3", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
check_elf_files: false,
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libHeifEncoderWrapper",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libHeifEncoderWrapper.so"],
|
||||
shared_libs: ["liboplusheifwriter", "libutils", "libstagefright", "libstagefright_foundation", "liblog", "libmedia_omx", "libmedia", "libmedia_codeclist", "libnativehelper", "libandroid_runtime", "libnativewindow", "libui", "libgui", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libNativeWinBuffExchange",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libNativeWinBuffExchange.so"],
|
||||
shared_libs: ["liblog", "libutils", "libnativewindow", "libui", "libgui", "android.hardware.graphics.bufferqueue@1.0", "android.hardware.graphics.bufferqueue@2.0", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libOplusBlurPreviewJNI",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libOplusBlurPreviewJNI.so"],
|
||||
shared_libs: ["libvndksupport", "liblog", "libandroid", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libSuperTextWrapper_system_ext",
|
||||
stem: "libSuperTextWrapper",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libSuperTextWrapper.so"],
|
||||
shared_libs: ["liblog", "libXDocProcessSDK_system_ext", "libYTCommon_system_ext", "libGLESv3", "libEGL", "libm", "libdl", "libc", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libXDocProcessSDK-jni",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libXDocProcessSDK-jni.so"],
|
||||
shared_libs: ["liblog", "libjnigraphics", "libvndksupport", "libm", "libdl", "libc", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libXDocProcessSDK_system_ext",
|
||||
stem: "libXDocProcessSDK",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libXDocProcessSDK.so"],
|
||||
shared_libs: ["libdl", "liblog", "libYTCommon_system_ext", "libEGL", "libGLESv3", "libc", "libz", "libm", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libYTCommon_system_ext",
|
||||
stem: "libYTCommon",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libYTCommon.so"],
|
||||
shared_libs: ["liblog", "libz", "libm", "libstdc++", "libdl", "libc", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libarcsoft_wideselfie",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libarcsoft_wideselfie.so"],
|
||||
shared_libs: ["libmpbase_system_ext", "liblog", "libdl", "libc", "libm", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libcolorx-loader",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libcolorx-loader.so"],
|
||||
shared_libs: ["liblog", "libcutils", "libutilscallstack", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libcolorx",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libcolorx.so"],
|
||||
shared_libs: ["liblog", "libbinder", "libutils", "libcutils", "libutilscallstack", "libz", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libcoolex",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libcoolex.so"],
|
||||
shared_libs: ["liblog", "libbinder", "libcolorx", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libextendfile_system_ext",
|
||||
stem: "libextendfile",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libextendfile.so"],
|
||||
shared_libs: ["liblog", "libm", "libdl", "libc", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libjni_wideselfie",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libjni_wideselfie.so"],
|
||||
shared_libs: ["libjnigraphics", "liblog", "libandroid", "libc", "libm", "libstdc++", "libdl", "libarcsoft_wideselfie", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libjnisingleblur_api",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libjnisingleblur_api.so"],
|
||||
shared_libs: ["libz", "libjnigraphics", "libvndksupport", "liblog", "libGLESv2", "libm", "libdl", "libc", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libjnistblur_api",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libjnistblur_api.so"],
|
||||
shared_libs: ["libz", "libjnigraphics", "libvndksupport", "liblog", "libGLESv2", "libm", "libdl", "libc", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libmpbase_system_ext",
|
||||
stem: "libmpbase",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libmpbase.so"],
|
||||
shared_libs: ["libc", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "liboplusheifwriter",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/liboplusheifwriter.so"],
|
||||
shared_libs: ["libutils", "libcutils", "libstagefright", "libstagefright_foundation", "liblog", "libmedia_omx", "libmedia", "libmedia_codeclist", "libnativehelper", "libandroid_runtime", "libnativewindow", "libui", "libgui", "libbase", "libjpeg", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libsingle_camera_bokeh_native",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libsingle_camera_bokeh_native.so"],
|
||||
shared_libs: ["liblog", "libGLESv3", "libEGL", "libnativewindow", "libmpbase_system_ext", "libm", "libdl", "libc", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libst_mobile",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libst_mobile.so"],
|
||||
shared_libs: ["libz", "libGLESv2", "libEGL", "liblog", "libm", "libc", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libst_sticker_jni",
|
||||
owner: "oplus",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/system_ext/lib64/libst_sticker_jni.so"],
|
||||
shared_libs: ["liblog", "libst_mobile", "libandroid", "libGLESv3", "libEGL", "libm", "libdl", "libc", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
android_app_import {
|
||||
name: "OplusAppPlatform",
|
||||
owner: "oplus",
|
||||
apk: "proprietary/system_ext/priv-app/OplusAppPlatform/OplusAppPlatform.apk",
|
||||
certificate: "platform",
|
||||
dex_preopt: {
|
||||
enabled: false,
|
||||
},
|
||||
privileged: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
android_app_import {
|
||||
name: "OplusCamera",
|
||||
owner: "oplus",
|
||||
apk: "proprietary/system_ext/priv-app/OplusCamera/OplusCamera.apk",
|
||||
overrides: ["Camera2", "GoogleCameraGo"],
|
||||
certificate: "platform",
|
||||
dex_preopt: {
|
||||
enabled: false,
|
||||
},
|
||||
privileged: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
dex_import {
|
||||
name: "oplus-support-wrapper",
|
||||
owner: "oplus",
|
||||
jars: ["proprietary/system/framework/oplus-support-wrapper.jar"],
|
||||
}
|
||||
|
||||
dex_import {
|
||||
name: "com.oplus.camera.unit.sdk.adapter",
|
||||
owner: "oplus",
|
||||
jars: ["proprietary/system_ext/framework/com.oplus.camera.unit.sdk.adapter.jar"],
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
dex_import {
|
||||
name: "com.oplus.camera.unit.sdk",
|
||||
owner: "oplus",
|
||||
jars: ["proprietary/system_ext/framework/com.oplus.camera.unit.sdk.jar"],
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
# Automatically generated file. DO NOT MODIFY
|
||||
#
|
||||
# This file is generated by device/oplus/camera/setup-makefiles.sh
|
||||
|
||||
@@ -4,13 +4,13 @@ Prebuilt stock oplus Camera to include in custom ROM builds.
|
||||
|
||||
### How to use?
|
||||
|
||||
1. Clone this repo to `vendor/oplus/camera`
|
||||
1. Clone this repo to `device/oplus/camera`
|
||||
|
||||
2. Inherit it from `device.mk` in device tree:
|
||||
|
||||
```
|
||||
# Camera
|
||||
$(call inherit-product-if-exists, vendor/oplus/camera/opluscamera.mk)
|
||||
$(call inherit-product-if-exists, device/oplus/camera/opluscamera.mk)
|
||||
```
|
||||
|
||||
3. Ensure that the PRODUCT_BRAND is either oneplus or oppo or realme and that it is not overriden by any of the safetynet hacks.
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
# Automatically generated file. DO NOT MODIFY
|
||||
#
|
||||
# This file is generated by device/oplus/camera/setup-makefiles.sh
|
||||
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
vendor/oplus/camera
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/oplus/camera/proprietary/system_ext/etc/default-permissions/oplus_camera_default_grant_permissions_list.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/default-permissions/oplus_camera_default_grant_permissions_list.xml
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
libpenguin \
|
||||
libAPSClient-cmd-jni \
|
||||
libAPSClient-jni \
|
||||
libAncFilter_jni \
|
||||
libAncHumBokeh-jni \
|
||||
libAncHumanDoubleExposure-jni \
|
||||
libAncHumanRetain-jni_v2 \
|
||||
libAncHumanSegFigureFusion-jni \
|
||||
libAncHumanVideo-jni \
|
||||
libApsFaceBeautyPreviewProductJni \
|
||||
libAvatarEngineRender \
|
||||
libAvatarEngineRenderNative \
|
||||
libCombineLut \
|
||||
libCombineLutJni \
|
||||
libFileExtender-jni \
|
||||
libHeifEncoderWrapper \
|
||||
libNativeWinBuffExchange \
|
||||
libOplusBlurPreviewJNI \
|
||||
libSuperTextWrapper_system_ext \
|
||||
libXDocProcessSDK-jni \
|
||||
libXDocProcessSDK_system_ext \
|
||||
libYTCommon_system_ext \
|
||||
libarcsoft_wideselfie \
|
||||
libcolorx-loader \
|
||||
libcolorx \
|
||||
libcoolex \
|
||||
libextendfile_system_ext \
|
||||
libjni_wideselfie \
|
||||
libjnisingleblur_api \
|
||||
libjnistblur_api \
|
||||
libmpbase_system_ext \
|
||||
liboplusheifwriter \
|
||||
libsingle_camera_bokeh_native \
|
||||
libst_mobile \
|
||||
libst_sticker_jni \
|
||||
OplusAppPlatform \
|
||||
OplusCamera \
|
||||
oplus-support-wrapper \
|
||||
com.oplus.camera.unit.sdk.adapter \
|
||||
com.oplus.camera.unit.sdk
|
||||
33
extract-files.py
Executable file
33
extract-files.py
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/usr/bin/env -S PYTHONPATH=../../../tools/extract-utils python3
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2024 The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
from extract_utils.fixups_blob import (
|
||||
blob_fixup,
|
||||
blob_fixups_user_type,
|
||||
)
|
||||
from extract_utils.fixups_lib import (
|
||||
lib_fixup_remove,
|
||||
lib_fixups,
|
||||
lib_fixups_user_type,
|
||||
)
|
||||
from extract_utils.main import (
|
||||
ExtractUtils,
|
||||
ExtractUtilsModule,
|
||||
)
|
||||
|
||||
namespace_imports = [
|
||||
'hardware/oplus',
|
||||
'vendor/oneplus/lemonadep',
|
||||
]
|
||||
|
||||
module = ExtractUtilsModule(
|
||||
'camera',
|
||||
'oplus',
|
||||
namespace_imports=namespace_imports,
|
||||
)
|
||||
|
||||
if __name__ == '__main__':
|
||||
utils = ExtractUtils.device(module)
|
||||
utils.run()
|
||||
@@ -1,61 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2016 The CyanogenMod Project
|
||||
# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
DEVICE=camera
|
||||
VENDOR=oplus
|
||||
|
||||
# Load extract_utils and do some sanity checks
|
||||
MY_DIR="${BASH_SOURCE%/*}"
|
||||
if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
|
||||
|
||||
ANDROID_ROOT="${MY_DIR}/../../.."
|
||||
|
||||
HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh"
|
||||
if [ ! -f "${HELPER}" ]; then
|
||||
echo "Unable to find helper script at ${HELPER}"
|
||||
exit 1
|
||||
fi
|
||||
source "${HELPER}"
|
||||
|
||||
# Default to sanitizing the vendor folder before extraction
|
||||
CLEAN_VENDOR=true
|
||||
|
||||
KANG=
|
||||
SECTION=
|
||||
|
||||
while [ "${#}" -gt 0 ]; do
|
||||
case "${1}" in
|
||||
-n | --no-cleanup)
|
||||
CLEAN_VENDOR=false
|
||||
;;
|
||||
-k | --kang)
|
||||
KANG="--kang"
|
||||
;;
|
||||
-s | --section)
|
||||
SECTION="${2}"
|
||||
shift
|
||||
CLEAN_VENDOR=false
|
||||
;;
|
||||
*)
|
||||
SRC="${1}"
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
if [ -z "${SRC}" ]; then
|
||||
SRC="adb"
|
||||
fi
|
||||
|
||||
# Initialize the helper
|
||||
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}"
|
||||
|
||||
extract "${MY_DIR}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}"
|
||||
|
||||
"${MY_DIR}/setup-makefiles.sh"
|
||||
@@ -26,10 +26,10 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
||||
$(call soong_config_set,camera,package_name,com.oplus.packageName)
|
||||
|
||||
# Video
|
||||
$(call soong_config_set,camera,override_format_from_reserved,true)
|
||||
$(call soong_config_set_bool,camera,override_format_from_reserved,true)
|
||||
|
||||
# SEpolicy
|
||||
include vendor/oplus/camera/sepolicy/SEPolicy.mk
|
||||
include device/oplus/camera/sepolicy/SEPolicy.mk
|
||||
|
||||
# Inherit from camera-vendor.mk
|
||||
$(call inherit-product, vendor/oplus/camera/camera-vendor.mk)
|
||||
|
||||
@@ -18,27 +18,26 @@ my_product/lib64/libCombineLut.so:system_ext/lib64/libCombineLut.so
|
||||
my_product/lib64/libCombineLutJni.so:system_ext/lib64/libCombineLutJni.so
|
||||
my_product/lib64/libFileExtender-jni.so:system_ext/lib64/libFileExtender-jni.so
|
||||
my_product/lib64/libOplusBlurPreviewJNI.so:system_ext/lib64/libOplusBlurPreviewJNI.so
|
||||
my_product/lib64/libSuperTextWrapper.so:system_ext/lib64/libSuperTextWrapper.so;MODULE_SUFFIX=_system_ext
|
||||
my_product/lib64/libSuperTextWrapper.so:system_ext/lib64/libSuperTextWrapper.so
|
||||
my_product/lib64/libXDocProcessSDK-jni.so:system_ext/lib64/libXDocProcessSDK-jni.so
|
||||
my_product/lib64/libXDocProcessSDK-jni.so:system_ext/lib64/libXDocProcessSDK-jni.qti.so;FIX_SONAME
|
||||
my_product/lib64/libXDocProcessSDK.so:system_ext/lib64/libXDocProcessSDK.so;MODULE_SUFFIX=_system_ext
|
||||
my_product/lib64/libYTCommon.so:system_ext/lib64/libYTCommon.so;MODULE_SUFFIX=_system_ext
|
||||
my_product/lib64/libXDocProcessSDK.so:system_ext/lib64/libXDocProcessSDK.so
|
||||
my_product/lib64/libYTCommon.so:system_ext/lib64/libYTCommon.so
|
||||
my_product/lib64/libarcsoft_wideselfie.so:system_ext/lib64/libarcsoft_wideselfie.so
|
||||
my_product/lib64/libcolorx-loader.so:system_ext/lib64/libcolorx-loader.so
|
||||
my_product/lib64/libcolorx.so:system_ext/lib64/libcolorx.so
|
||||
my_product/lib64/libcoolex.so:system_ext/lib64/libcoolex.so
|
||||
my_product/lib64/libextendfile.so:system_ext/lib64/libextendfile.so;MODULE_SUFFIX=system_ext
|
||||
my_product/lib64/libcolorx-loader.so:system_ext/lib64/libcolorx-loader.so|24a6454e6233f61b5eb55495b4f4f655d9704bc7
|
||||
my_product/lib64/libcolorx.so:system_ext/lib64/libcolorx.so|2059b464673be630c024437ef30b4602e4d80a7d
|
||||
my_product/lib64/libcoolex.so:system_ext/lib64/libcoolex.so|d5f393f1302d5b92550e896a6d6b176388056561
|
||||
my_product/lib64/libextendfile.so:system_ext/lib64/libextendfile.so
|
||||
my_product/lib64/libjni_wideselfie.so:system_ext/lib64/libjni_wideselfie.so
|
||||
my_product/lib64/libjnisingleblur_api.so:system_ext/lib64/libjnisingleblur_api.so;FIX_SONAME
|
||||
my_product/lib64/libjnistblur_api.so:system_ext/lib64/libjnistblur_api.so;FIX_SONAME
|
||||
my_product/lib64/libmpbase.so:system_ext/lib64/libmpbase.so;MODULE_SUFFIX=_system_ext
|
||||
my_product/lib64/libsingle_camera_bokeh_native.so:system_ext/lib64/libsingle_camera_bokeh_native.so
|
||||
my_product/lib64/libst_mobile.so:system_ext/lib64/libst_mobile.so
|
||||
my_product/lib64/libst_sticker_jni.so:system_ext/lib64/libst_sticker_jni.so;FIX_SONAME
|
||||
my_product/product_overlay/etc/permissions/oplus_camera_default_grant_permissions_list.xml:system_ext/etc/default-permissions/oplus_camera_default_grant_permissions_list.xml
|
||||
my_product/product_overlay/framework/com.oplus.camera.unit.sdk.adapter.jar:system_ext/framework/com.oplus.camera.unit.sdk.adapter.jar
|
||||
my_product/product_overlay/framework/com.oplus.camera.unit.sdk.jar:system_ext/framework/com.oplus.camera.unit.sdk.jar
|
||||
system/framework/oplus-support-wrapper.jar
|
||||
system/framework/oplus-support-wrapper.jar|8dd66d1455749fc6ea0afe4f5baa5ded1756a53f
|
||||
system_ext/lib64/libpenguin.so:vendor/lib64/libpenguin.so
|
||||
system_ext/lib64/libHeifEncoderWrapper.so
|
||||
system_ext/lib64/libNativeWinBuffExchange.so
|
||||
|
||||
Binary file not shown.
@@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
********************************************************************************
|
||||
** Copyright (C) 2018-2021 Oplus. All rights reserved.
|
||||
** All rights reserved.
|
||||
**
|
||||
** File: - privapp-permission-oplus.xml
|
||||
** Description:
|
||||
** Customization of Android default_grant_permissions_list.xml
|
||||
**
|
||||
** Version: 1.0
|
||||
** Date: 2021-08-26
|
||||
********************************************************************************/
|
||||
-->
|
||||
<packages>
|
||||
<default-grant-permissions package="com.oplus.camera" >
|
||||
<permission name="android.permission.CAMERA"/>
|
||||
<permission name="android.permission.RECORD_AUDIO"/>
|
||||
<permission name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
||||
<permission name="android.permission.READ_EXTERNAL_STORAGE"/>
|
||||
<permission name="android.permission.READ_PHONE_STATE"/>
|
||||
</default-grant-permissions>
|
||||
</packages>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:74c839698f8095386b016f3b9e6762ae42d51417cbf03262489dac2d463d807c
|
||||
size 3307752
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7b9c86eab1276809c2661add2cf860e23bed1dc42f1333d95118578ad7985b12
|
||||
size 124061322
|
||||
BIN
proprietary/vendor/lib64/libpenguin.so
vendored
BIN
proprietary/vendor/lib64/libpenguin.so
vendored
Binary file not shown.
@@ -5,10 +5,10 @@
|
||||
#
|
||||
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += \
|
||||
vendor/oplus/camera/sepolicy/vendor
|
||||
device/oplus/camera/sepolicy/vendor
|
||||
|
||||
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \
|
||||
vendor/oplus/camera/sepolicy/private
|
||||
device/oplus/camera/sepolicy/private
|
||||
|
||||
SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += \
|
||||
vendor/oplus/camera/sepolicy/public
|
||||
device/oplus/camera/sepolicy/public
|
||||
|
||||
1
setup-makefiles.py
Executable file
1
setup-makefiles.py
Executable file
@@ -0,0 +1 @@
|
||||
#!./extract-files.py --regenerate_makefiles
|
||||
@@ -1,59 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2016 The CyanogenMod Project
|
||||
# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
DEVICE=camera
|
||||
VENDOR=oplus
|
||||
|
||||
# Load extract_utils and do some sanity checks
|
||||
MY_DIR="${BASH_SOURCE%/*}"
|
||||
if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
|
||||
|
||||
ANDROID_ROOT="${MY_DIR}/../../.."
|
||||
|
||||
HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh"
|
||||
if [ ! -f "${HELPER}" ]; then
|
||||
echo "Unable to find helper script at ${HELPER}"
|
||||
exit 1
|
||||
fi
|
||||
source "${HELPER}"
|
||||
|
||||
function lib_to_package_fixup_system_ext_variants() {
|
||||
if [ "$2" != "system_ext" ]; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
libSuperTextWrapper | \
|
||||
libXDocProcessSDK | \
|
||||
libYTCommon | \
|
||||
libmpbase)
|
||||
echo "$1_system_ext"
|
||||
;;
|
||||
*)
|
||||
return 1
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
function lib_to_package_fixup() {
|
||||
lib_to_package_fixup_clang_rt_ubsan_standalone "$1" ||
|
||||
lib_to_package_fixup_proto_3_9_1 "$1" ||
|
||||
lib_to_package_fixup_system_ext_variants "$@"
|
||||
}
|
||||
|
||||
# Initialize the helper
|
||||
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}"
|
||||
|
||||
# Warning headers and guards
|
||||
write_headers
|
||||
|
||||
write_makefiles "${MY_DIR}/proprietary-files.txt"
|
||||
|
||||
# Finish
|
||||
write_footers
|
||||
Reference in New Issue
Block a user