From ae38197ed04d468cdbef298ebdb8618bfa20f447 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Sun, 4 Aug 2019 02:42:45 +0000 Subject: [PATCH] extra: Alphabetize, clean, and sort --- .../HwCamera2}/Android.mk | 0 .../HwCamera2}/HwCamera2.apk | Bin oem-cameras/HwCamera2/HwCamera2.mk | 20 +++ .../HwCamera2}/lib/arm/libHW_Pano_f.so | Bin .../HwCamera2}/lib/arm/libHwPostCamera_jni.so | Bin .../HwCamera2}/lib/arm/libIvw35.so | Bin .../HwCamera2}/lib/arm/libJniVoiceCapture.so | Bin .../HwCamera2}/lib/arm/libTargetTracking.so | Bin .../HwCamera2}/lib/arm/libfyusenet.so | Bin .../HwCamera2}/lib/arm/libgif_maker.so | Bin .../arm/libjni_front_panorama_beauty_hidl.so | Bin .../lib/arm/libjni_front_panorama_camera2.so | Bin .../lib/arm/libjni_mrc_cg_filters_camera2.so | Bin .../lib/arm/libmorpho_memory_allocator.so | Bin .../lib/arm/libmorpho_panorama_gp.so | Bin .../HwCamera2}/lib/arm/libscanner.so | Bin .../HwCamera2}/lib/arm/libtrack.so | Bin ...endor.huawei.hardware.camera.cfgsvr@1.0.so | Bin ...endor.huawei.hardware.camera.cfgsvr@1.1.so | Bin .../MotCamera2}/Android.mk | 0 .../MotCamera2}/MotCamera2.apk | Bin oem-cameras/MotCamera2/MotCamera2.mk | 60 ++++++++ .../lib/arm}/libDepthBokehEffect.so | Bin .../MotCamera2/lib/arm}/libFNVfbEngineHAL.so | Bin .../MotCamera2/lib/arm}/libMobileOcrEngine.so | Bin .../MotCamera2/lib/arm}/libMotDoF.so | Bin .../MotCamera2/lib/arm}/libSNPE.so | Bin .../MotCamera2/lib/arm}/libSNPExecutor.so | Bin .../arm}/libarcsoft_agegender_estimation.so | Bin .../lib/arm}/libarcsoft_beautyshot.so | Bin .../lib/arm}/libarcsoft_dualcam_refocus.so | Bin .../lib/arm}/libbsDepthWrapper_01_00_000.so | Bin .../MotCamera2/lib/arm}/libc++_shared.so | Bin .../MotCamera2/lib/arm}/libclearsight.so | Bin .../arm}/libclearsight_wrapper_01_00_000.so | Bin .../lib/arm}/libddm_wrapper_01_00_000.so | Bin .../MotCamera2/lib/arm}/libdualcameraddm.so | Bin .../arm}/libframe_stack_wrapper_morpho_v4.so | Bin .../arm}/libframe_stack_wrapper_morpho_v5.so | Bin .../MotCamera2/lib/arm}/libgif.so | Bin .../MotCamera2/lib/arm}/liblenovo_panorama.so | Bin .../MotCamera2/lib/arm}/libmcf-common.so | Bin .../MotCamera2/lib/arm}/libmcf-foundation.so | Bin .../MotCamera2/lib/arm}/libmcf-foundation2.so | Bin .../MotCamera2/lib/arm}/libmcf-jni.so | Bin .../MotCamera2/lib/arm}/libmcf-local.so | Bin .../lib/arm}/libmcf-qc-fd-offline.so | Bin .../MotCamera2/lib/arm}/libmcf.so | Bin .../MotCamera2/lib/arm}/libmcfutils.so | Bin .../lib/arm}/libmorpho_cinema_graph.so | Bin .../lib/arm}/libmorpho_defocusface.so | Bin .../MotCamera2/lib/arm}/libmorpho_easy_hdr.so | Bin .../lib/arm}/libmorpho_image_stab5.so | Bin .../lib/arm}/libmorpho_image_stabilizer4.so | Bin .../lib/arm}/libmorpho_panorama_gp3.so | Bin .../lib/arm}/libmorpho_sensor_fusion.so | Bin .../lib/arm}/libmorpho_super_resolution.so | Bin .../lib/arm}/libmotioncore_01_00_000.so | Bin .../MotCamera2/lib/arm}/libmpbase.so | Bin .../arm}/liboffline_fd_wrapper_01_00_000.so | Bin .../MotCamera2/lib/arm}/libopenssh.so | Bin .../librefocus_image_wrapper_01_00_000.so | Bin .../MotCamera2/lib/arm}/libremosaic_tuning.so | Bin .../lib/arm}/libremosaic_wrapper.so | Bin .../MotCamera2/lib/arm}/libremosaiclib.so | Bin .../MotCamera2/lib/arm}/libsnpe-android.so | Bin .../MotCamera2/lib/arm}/libsnpe_adsp.so | Bin .../lib/arm}/libsnpe_dsp_domains.so | Bin .../lib/arm}/libsnpe_dsp_domains_skel.so | Bin .../MotCamera2/lib/arm}/libsnpe_dsp_skel.so | Bin .../lib/arm}/libsnpe_dsp_v65_domains_skel.so | Bin .../libsuper_resolution_wrapper_morpho_v2.so | Bin .../MotCamera2/lib/arm}/libsymphony-cpu.so | Bin .../MotCamera2/lib/arm}/libsymphonypower.so | Bin .../lib/arm}/libubifocus_wrapper_01_00_000.so | Bin .../MotCamera2/lib/arm}/libzxing_01_00_000.so | Bin .../lib/arm}/libzxingwrapper_01_00_000.so | Bin .../MotCamera2/lib/arm}/test.txt | 0 .../MotCamera2/lib/arm64}/librcfw.so | Bin product.mk | 129 ++++-------------- 80 files changed, 107 insertions(+), 102 deletions(-) rename {HwCamera2 => oem-cameras/HwCamera2}/Android.mk (100%) rename {HwCamera2 => oem-cameras/HwCamera2}/HwCamera2.apk (100%) create mode 100644 oem-cameras/HwCamera2/HwCamera2.mk rename {HwCamera2 => oem-cameras/HwCamera2}/lib/arm/libHW_Pano_f.so (100%) rename {HwCamera2 => oem-cameras/HwCamera2}/lib/arm/libHwPostCamera_jni.so (100%) rename {HwCamera2 => oem-cameras/HwCamera2}/lib/arm/libIvw35.so (100%) rename {HwCamera2 => oem-cameras/HwCamera2}/lib/arm/libJniVoiceCapture.so (100%) rename {HwCamera2 => oem-cameras/HwCamera2}/lib/arm/libTargetTracking.so (100%) rename {HwCamera2 => oem-cameras/HwCamera2}/lib/arm/libfyusenet.so (100%) rename {HwCamera2 => oem-cameras/HwCamera2}/lib/arm/libgif_maker.so (100%) rename {HwCamera2 => oem-cameras/HwCamera2}/lib/arm/libjni_front_panorama_beauty_hidl.so (100%) rename {HwCamera2 => oem-cameras/HwCamera2}/lib/arm/libjni_front_panorama_camera2.so (100%) rename {HwCamera2 => oem-cameras/HwCamera2}/lib/arm/libjni_mrc_cg_filters_camera2.so (100%) rename {HwCamera2 => oem-cameras/HwCamera2}/lib/arm/libmorpho_memory_allocator.so (100%) rename {HwCamera2 => oem-cameras/HwCamera2}/lib/arm/libmorpho_panorama_gp.so (100%) rename {HwCamera2 => oem-cameras/HwCamera2}/lib/arm/libscanner.so (100%) rename {HwCamera2 => oem-cameras/HwCamera2}/lib/arm/libtrack.so (100%) rename {HwCamera2 => oem-cameras/HwCamera2}/lib/arm/vendor.huawei.hardware.camera.cfgsvr@1.0.so (100%) rename {HwCamera2 => oem-cameras/HwCamera2}/lib/arm/vendor.huawei.hardware.camera.cfgsvr@1.1.so (100%) rename {MotCamera2 => oem-cameras/MotCamera2}/Android.mk (100%) rename {MotCamera2 => oem-cameras/MotCamera2}/MotCamera2.apk (100%) create mode 100644 oem-cameras/MotCamera2/MotCamera2.mk rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libDepthBokehEffect.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libFNVfbEngineHAL.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libMobileOcrEngine.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libMotDoF.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libSNPE.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libSNPExecutor.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libarcsoft_agegender_estimation.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libarcsoft_beautyshot.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libarcsoft_dualcam_refocus.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libbsDepthWrapper_01_00_000.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libc++_shared.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libclearsight.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libclearsight_wrapper_01_00_000.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libddm_wrapper_01_00_000.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libdualcameraddm.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libframe_stack_wrapper_morpho_v4.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libframe_stack_wrapper_morpho_v5.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libgif.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/liblenovo_panorama.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libmcf-common.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libmcf-foundation.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libmcf-foundation2.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libmcf-jni.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libmcf-local.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libmcf-qc-fd-offline.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libmcf.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libmcfutils.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libmorpho_cinema_graph.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libmorpho_defocusface.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libmorpho_easy_hdr.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libmorpho_image_stab5.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libmorpho_image_stabilizer4.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libmorpho_panorama_gp3.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libmorpho_sensor_fusion.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libmorpho_super_resolution.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libmotioncore_01_00_000.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libmpbase.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/liboffline_fd_wrapper_01_00_000.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libopenssh.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/librefocus_image_wrapper_01_00_000.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libremosaic_tuning.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libremosaic_wrapper.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libremosaiclib.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libsnpe-android.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libsnpe_adsp.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libsnpe_dsp_domains.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libsnpe_dsp_domains_skel.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libsnpe_dsp_skel.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libsnpe_dsp_v65_domains_skel.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libsuper_resolution_wrapper_morpho_v2.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libsymphony-cpu.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libsymphonypower.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libubifocus_wrapper_01_00_000.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libzxing_01_00_000.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/libzxingwrapper_01_00_000.so (100%) rename {MotCamera2/lib => oem-cameras/MotCamera2/lib/arm}/test.txt (100%) rename {MotCamera2/lib64 => oem-cameras/MotCamera2/lib/arm64}/librcfw.so (100%) diff --git a/HwCamera2/Android.mk b/oem-cameras/HwCamera2/Android.mk similarity index 100% rename from HwCamera2/Android.mk rename to oem-cameras/HwCamera2/Android.mk diff --git a/HwCamera2/HwCamera2.apk b/oem-cameras/HwCamera2/HwCamera2.apk similarity index 100% rename from HwCamera2/HwCamera2.apk rename to oem-cameras/HwCamera2/HwCamera2.apk diff --git a/oem-cameras/HwCamera2/HwCamera2.mk b/oem-cameras/HwCamera2/HwCamera2.mk new file mode 100644 index 0000000..6bc04f2 --- /dev/null +++ b/oem-cameras/HwCamera2/HwCamera2.mk @@ -0,0 +1,20 @@ +PRODUCT_PACKAGES += \ + HwCamera2 + +PRODUCT_COPY_FILES := \ + vendor/extra/oem-cameras/HwCamera2/lib/arm/libfyusenet.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libfyusenet.so \ + vendor/extra/oem-cameras/HwCamera2/lib/arm/libgif_maker.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libgif_maker.so \ + vendor/extra/oem-cameras/HwCamera2/lib/arm/libHW_Pano_f.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libHW_Pano_f.so \ + vendor/extra/oem-cameras/HwCamera2/lib/arm/libHwPostCamera_jni.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libHwPostCamera_jni.so \ + vendor/extra/oem-cameras/HwCamera2/lib/arm/libIvw35.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libIvw35.so \ + vendor/extra/oem-cameras/HwCamera2/lib/arm/libjni_front_panorama_beauty_hidl.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libjni_front_panorama_beauty_hidl.so \ + vendor/extra/oem-cameras/HwCamera2/lib/arm/libjni_front_panorama_camera2.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libjni_front_panorama_camera2.so \ + vendor/extra/oem-cameras/HwCamera2/lib/arm/libjni_mrc_cg_filters_camera2.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libjni_mrc_cg_filters_camera2.so \ + vendor/extra/oem-cameras/HwCamera2/lib/arm/libJniVoiceCapture.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libJniVoiceCapture.so \ + vendor/extra/oem-cameras/HwCamera2/lib/arm/libmorpho_memory_allocator.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libmorpho_memory_allocator.so \ + vendor/extra/oem-cameras/HwCamera2/lib/arm/libmorpho_panorama_gp.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libmorpho_panorama_gp.so \ + vendor/extra/oem-cameras/HwCamera2/lib/arm/libscanner.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libscanner.so \ + vendor/extra/oem-cameras/HwCamera2/lib/arm/libTargetTracking.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libTargetTracking.so \ + vendor/extra/oem-cameras/HwCamera2/lib/arm/libtrack.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libtrack.so \ + vendor/extra/oem-cameras/HwCamera2/lib/arm/vendor.huawei.hardware.camera.cfgsvr@1.0.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/vendor.huawei.hardware.camera.cfgsvr@1.0.so \ + vendor/extra/oem-cameras/HwCamera2/lib/arm/vendor.huawei.hardware.camera.cfgsvr@1.1.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/vendor.huawei.hardware.camera.cfgsvr@1.1.so diff --git a/HwCamera2/lib/arm/libHW_Pano_f.so b/oem-cameras/HwCamera2/lib/arm/libHW_Pano_f.so similarity index 100% rename from HwCamera2/lib/arm/libHW_Pano_f.so rename to oem-cameras/HwCamera2/lib/arm/libHW_Pano_f.so diff --git a/HwCamera2/lib/arm/libHwPostCamera_jni.so b/oem-cameras/HwCamera2/lib/arm/libHwPostCamera_jni.so similarity index 100% rename from HwCamera2/lib/arm/libHwPostCamera_jni.so rename to oem-cameras/HwCamera2/lib/arm/libHwPostCamera_jni.so diff --git a/HwCamera2/lib/arm/libIvw35.so b/oem-cameras/HwCamera2/lib/arm/libIvw35.so similarity index 100% rename from HwCamera2/lib/arm/libIvw35.so rename to oem-cameras/HwCamera2/lib/arm/libIvw35.so diff --git a/HwCamera2/lib/arm/libJniVoiceCapture.so b/oem-cameras/HwCamera2/lib/arm/libJniVoiceCapture.so similarity index 100% rename from HwCamera2/lib/arm/libJniVoiceCapture.so rename to oem-cameras/HwCamera2/lib/arm/libJniVoiceCapture.so diff --git a/HwCamera2/lib/arm/libTargetTracking.so b/oem-cameras/HwCamera2/lib/arm/libTargetTracking.so similarity index 100% rename from HwCamera2/lib/arm/libTargetTracking.so rename to oem-cameras/HwCamera2/lib/arm/libTargetTracking.so diff --git a/HwCamera2/lib/arm/libfyusenet.so b/oem-cameras/HwCamera2/lib/arm/libfyusenet.so similarity index 100% rename from HwCamera2/lib/arm/libfyusenet.so rename to oem-cameras/HwCamera2/lib/arm/libfyusenet.so diff --git a/HwCamera2/lib/arm/libgif_maker.so b/oem-cameras/HwCamera2/lib/arm/libgif_maker.so similarity index 100% rename from HwCamera2/lib/arm/libgif_maker.so rename to oem-cameras/HwCamera2/lib/arm/libgif_maker.so diff --git a/HwCamera2/lib/arm/libjni_front_panorama_beauty_hidl.so b/oem-cameras/HwCamera2/lib/arm/libjni_front_panorama_beauty_hidl.so similarity index 100% rename from HwCamera2/lib/arm/libjni_front_panorama_beauty_hidl.so rename to oem-cameras/HwCamera2/lib/arm/libjni_front_panorama_beauty_hidl.so diff --git a/HwCamera2/lib/arm/libjni_front_panorama_camera2.so b/oem-cameras/HwCamera2/lib/arm/libjni_front_panorama_camera2.so similarity index 100% rename from HwCamera2/lib/arm/libjni_front_panorama_camera2.so rename to oem-cameras/HwCamera2/lib/arm/libjni_front_panorama_camera2.so diff --git a/HwCamera2/lib/arm/libjni_mrc_cg_filters_camera2.so b/oem-cameras/HwCamera2/lib/arm/libjni_mrc_cg_filters_camera2.so similarity index 100% rename from HwCamera2/lib/arm/libjni_mrc_cg_filters_camera2.so rename to oem-cameras/HwCamera2/lib/arm/libjni_mrc_cg_filters_camera2.so diff --git a/HwCamera2/lib/arm/libmorpho_memory_allocator.so b/oem-cameras/HwCamera2/lib/arm/libmorpho_memory_allocator.so similarity index 100% rename from HwCamera2/lib/arm/libmorpho_memory_allocator.so rename to oem-cameras/HwCamera2/lib/arm/libmorpho_memory_allocator.so diff --git a/HwCamera2/lib/arm/libmorpho_panorama_gp.so b/oem-cameras/HwCamera2/lib/arm/libmorpho_panorama_gp.so similarity index 100% rename from HwCamera2/lib/arm/libmorpho_panorama_gp.so rename to oem-cameras/HwCamera2/lib/arm/libmorpho_panorama_gp.so diff --git a/HwCamera2/lib/arm/libscanner.so b/oem-cameras/HwCamera2/lib/arm/libscanner.so similarity index 100% rename from HwCamera2/lib/arm/libscanner.so rename to oem-cameras/HwCamera2/lib/arm/libscanner.so diff --git a/HwCamera2/lib/arm/libtrack.so b/oem-cameras/HwCamera2/lib/arm/libtrack.so similarity index 100% rename from HwCamera2/lib/arm/libtrack.so rename to oem-cameras/HwCamera2/lib/arm/libtrack.so diff --git a/HwCamera2/lib/arm/vendor.huawei.hardware.camera.cfgsvr@1.0.so b/oem-cameras/HwCamera2/lib/arm/vendor.huawei.hardware.camera.cfgsvr@1.0.so similarity index 100% rename from HwCamera2/lib/arm/vendor.huawei.hardware.camera.cfgsvr@1.0.so rename to oem-cameras/HwCamera2/lib/arm/vendor.huawei.hardware.camera.cfgsvr@1.0.so diff --git a/HwCamera2/lib/arm/vendor.huawei.hardware.camera.cfgsvr@1.1.so b/oem-cameras/HwCamera2/lib/arm/vendor.huawei.hardware.camera.cfgsvr@1.1.so similarity index 100% rename from HwCamera2/lib/arm/vendor.huawei.hardware.camera.cfgsvr@1.1.so rename to oem-cameras/HwCamera2/lib/arm/vendor.huawei.hardware.camera.cfgsvr@1.1.so diff --git a/MotCamera2/Android.mk b/oem-cameras/MotCamera2/Android.mk similarity index 100% rename from MotCamera2/Android.mk rename to oem-cameras/MotCamera2/Android.mk diff --git a/MotCamera2/MotCamera2.apk b/oem-cameras/MotCamera2/MotCamera2.apk similarity index 100% rename from MotCamera2/MotCamera2.apk rename to oem-cameras/MotCamera2/MotCamera2.apk diff --git a/oem-cameras/MotCamera2/MotCamera2.mk b/oem-cameras/MotCamera2/MotCamera2.mk new file mode 100644 index 0000000..e7b59f7 --- /dev/null +++ b/oem-cameras/MotCamera2/MotCamera2.mk @@ -0,0 +1,60 @@ +PRODUCT_PACKAGES += \ + MotCamera2 + +PRODUCT_COPY_FILES := \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libDepthBokehEffect.so:system/lib/libDepthBokehEffect.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libFNVfbEngineHAL.so:system/lib/libFNVfbEngineHAL.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libMobileOcrEngine.so:system/lib/libMobileOcrEngine.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libMotDoF.so:system/lib/libMotDoF.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libSNPE.so:system/lib/libSNPE.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libSNPExecutor.so:system/lib/libSNPExecutor.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libarcsoft_agegender_estimation.so:system/lib/libarcsoft_agegender_estimation.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libarcsoft_beautyshot.so:system/lib/libarcsoft_beautyshot.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libarcsoft_dualcam_refocus.so:system/lib/libarcsoft_dualcam_refocus.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libbsDepthWrapper_01_00_000.so:system/lib/libbsDepthWrapper_01_00_000.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libc++_shared.so:system/lib/libc++_shared.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libclearsight.so:system/lib/libclearsight.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libclearsight_wrapper_01_00_000.so:system/lib/libclearsight_wrapper_01_00_000.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libddm_wrapper_01_00_000.so:system/lib/libddm_wrapper_01_00_000.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libdualcameraddm.so:system/lib/libdualcameraddm.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libframe_stack_wrapper_morpho_v4.so:system/lib/libframe_stack_wrapper_morpho_v4.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libframe_stack_wrapper_morpho_v5.so:system/lib/libframe_stack_wrapper_morpho_v5.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libgif.so:system/lib/libgif.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/liblenovo_panorama.so:system/lib/liblenovo_panorama.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libmcf-common.so:system/lib/libmcf-common.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libmcf-foundation.so:system/lib/libmcf-foundation.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libmcf-foundation2.so:system/lib/libmcf-foundation2.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libmcf-jni.so:system/lib/libmcf-jni.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libmcf-local.so:system/lib/libmcf-local.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libmcf-qc-fd-offline.so:system/lib/libmcf-qc-fd-offline.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libmcf.so:system/lib/libmcf.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libmcfutils.so:system/lib/libmcfutils.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libmorpho_cinema_graph.so:system/lib/libmorpho_cinema_graph.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libmorpho_defocusface.so:system/lib/libmorpho_defocusface \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libmorpho_easy_hdr.so:system/lib/libmorpho_easy_hdr.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libmorpho_image_stab5.so:system/lib/libmorpho_image_stab5.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libmorpho_image_stabilizer4.so:system/lib/libmorpho_image_stabilizer4.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libmorpho_panorama_gp3.so:system/lib/libmorpho_panorama_gp3.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libmorpho_sensor_fusion.so:system/lib/libmorpho_sensor_fusion.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libmorpho_super_resolution.so:system/lib/libmorpho_super_resolution.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libmotioncore_01_00_000.so:system/lib/libmotioncore_01_00_000.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libmpbase.so:system/lib/libmpbase.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/liboffline_fd_wrapper_01_00_000.so:system/lib/liboffline_fd_wrapper_01_00_000.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libopenssh.so:system/lib/libopenssh.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/librefocus_image_wrapper_01_00_000.so:system/lib/librefocus_image_wrapper_01_00_000.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libremosaic_tuning.so:system/lib/libremosaic_tuning.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libremosaic_wrapper.so:system/lib/libremosaic_wrapper.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libremosaiclib.so:system/lib/libremosaiclib.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libsnpe-android.so:system/lib/libsnpe-android.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libsnpe_adsp.so:system/lib/libsnpe_adsp.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libsnpe_dsp_domains.so:system/lib/libsnpe_dsp_domains.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libsnpe_dsp_domains_skel.so:system/lib/libsnpe_dsp_domains_skel.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libsnpe_dsp_skel.so:system/lib/libsnpe_dsp_skel.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libsnpe_dsp_v65_domains_skel.so:system/lib/libsnpe_dsp_v65_domains_skel.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libsuper_resolution_wrapper_morpho_v2.so:system/lib/libsuper_resolution_wrapper_morpho_v2.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libsymphony-cpu.so:system/lib/libsymphony-cpu.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libsymphonypower.so:system/lib/libsymphonypower.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libubifocus_wrapper_01_00_000.so:system/lib/libubifocus_wrapper_01_00_000.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libzxing_01_00_000.so:system/lib/libzxing_01_00_000.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm/libzxingwrapper_01_00_000.so:system/lib/libzxingwrapper_01_00_000.so \ + vendor/extra/oem-cameras/MotCamera2/lib/arm64/librcfw.so:system/lib64/librcfw.so diff --git a/MotCamera2/lib/libDepthBokehEffect.so b/oem-cameras/MotCamera2/lib/arm/libDepthBokehEffect.so similarity index 100% rename from MotCamera2/lib/libDepthBokehEffect.so rename to oem-cameras/MotCamera2/lib/arm/libDepthBokehEffect.so diff --git a/MotCamera2/lib/libFNVfbEngineHAL.so b/oem-cameras/MotCamera2/lib/arm/libFNVfbEngineHAL.so similarity index 100% rename from MotCamera2/lib/libFNVfbEngineHAL.so rename to oem-cameras/MotCamera2/lib/arm/libFNVfbEngineHAL.so diff --git a/MotCamera2/lib/libMobileOcrEngine.so b/oem-cameras/MotCamera2/lib/arm/libMobileOcrEngine.so similarity index 100% rename from MotCamera2/lib/libMobileOcrEngine.so rename to oem-cameras/MotCamera2/lib/arm/libMobileOcrEngine.so diff --git a/MotCamera2/lib/libMotDoF.so b/oem-cameras/MotCamera2/lib/arm/libMotDoF.so similarity index 100% rename from MotCamera2/lib/libMotDoF.so rename to oem-cameras/MotCamera2/lib/arm/libMotDoF.so diff --git a/MotCamera2/lib/libSNPE.so b/oem-cameras/MotCamera2/lib/arm/libSNPE.so similarity index 100% rename from MotCamera2/lib/libSNPE.so rename to oem-cameras/MotCamera2/lib/arm/libSNPE.so diff --git a/MotCamera2/lib/libSNPExecutor.so b/oem-cameras/MotCamera2/lib/arm/libSNPExecutor.so similarity index 100% rename from MotCamera2/lib/libSNPExecutor.so rename to oem-cameras/MotCamera2/lib/arm/libSNPExecutor.so diff --git a/MotCamera2/lib/libarcsoft_agegender_estimation.so b/oem-cameras/MotCamera2/lib/arm/libarcsoft_agegender_estimation.so similarity index 100% rename from MotCamera2/lib/libarcsoft_agegender_estimation.so rename to oem-cameras/MotCamera2/lib/arm/libarcsoft_agegender_estimation.so diff --git a/MotCamera2/lib/libarcsoft_beautyshot.so b/oem-cameras/MotCamera2/lib/arm/libarcsoft_beautyshot.so similarity index 100% rename from MotCamera2/lib/libarcsoft_beautyshot.so rename to oem-cameras/MotCamera2/lib/arm/libarcsoft_beautyshot.so diff --git a/MotCamera2/lib/libarcsoft_dualcam_refocus.so b/oem-cameras/MotCamera2/lib/arm/libarcsoft_dualcam_refocus.so similarity index 100% rename from MotCamera2/lib/libarcsoft_dualcam_refocus.so rename to oem-cameras/MotCamera2/lib/arm/libarcsoft_dualcam_refocus.so diff --git a/MotCamera2/lib/libbsDepthWrapper_01_00_000.so b/oem-cameras/MotCamera2/lib/arm/libbsDepthWrapper_01_00_000.so similarity index 100% rename from MotCamera2/lib/libbsDepthWrapper_01_00_000.so rename to oem-cameras/MotCamera2/lib/arm/libbsDepthWrapper_01_00_000.so diff --git a/MotCamera2/lib/libc++_shared.so b/oem-cameras/MotCamera2/lib/arm/libc++_shared.so similarity index 100% rename from MotCamera2/lib/libc++_shared.so rename to oem-cameras/MotCamera2/lib/arm/libc++_shared.so diff --git a/MotCamera2/lib/libclearsight.so b/oem-cameras/MotCamera2/lib/arm/libclearsight.so similarity index 100% rename from MotCamera2/lib/libclearsight.so rename to oem-cameras/MotCamera2/lib/arm/libclearsight.so diff --git a/MotCamera2/lib/libclearsight_wrapper_01_00_000.so b/oem-cameras/MotCamera2/lib/arm/libclearsight_wrapper_01_00_000.so similarity index 100% rename from MotCamera2/lib/libclearsight_wrapper_01_00_000.so rename to oem-cameras/MotCamera2/lib/arm/libclearsight_wrapper_01_00_000.so diff --git a/MotCamera2/lib/libddm_wrapper_01_00_000.so b/oem-cameras/MotCamera2/lib/arm/libddm_wrapper_01_00_000.so similarity index 100% rename from MotCamera2/lib/libddm_wrapper_01_00_000.so rename to oem-cameras/MotCamera2/lib/arm/libddm_wrapper_01_00_000.so diff --git a/MotCamera2/lib/libdualcameraddm.so b/oem-cameras/MotCamera2/lib/arm/libdualcameraddm.so similarity index 100% rename from MotCamera2/lib/libdualcameraddm.so rename to oem-cameras/MotCamera2/lib/arm/libdualcameraddm.so diff --git a/MotCamera2/lib/libframe_stack_wrapper_morpho_v4.so b/oem-cameras/MotCamera2/lib/arm/libframe_stack_wrapper_morpho_v4.so similarity index 100% rename from MotCamera2/lib/libframe_stack_wrapper_morpho_v4.so rename to oem-cameras/MotCamera2/lib/arm/libframe_stack_wrapper_morpho_v4.so diff --git a/MotCamera2/lib/libframe_stack_wrapper_morpho_v5.so b/oem-cameras/MotCamera2/lib/arm/libframe_stack_wrapper_morpho_v5.so similarity index 100% rename from MotCamera2/lib/libframe_stack_wrapper_morpho_v5.so rename to oem-cameras/MotCamera2/lib/arm/libframe_stack_wrapper_morpho_v5.so diff --git a/MotCamera2/lib/libgif.so b/oem-cameras/MotCamera2/lib/arm/libgif.so similarity index 100% rename from MotCamera2/lib/libgif.so rename to oem-cameras/MotCamera2/lib/arm/libgif.so diff --git a/MotCamera2/lib/liblenovo_panorama.so b/oem-cameras/MotCamera2/lib/arm/liblenovo_panorama.so similarity index 100% rename from MotCamera2/lib/liblenovo_panorama.so rename to oem-cameras/MotCamera2/lib/arm/liblenovo_panorama.so diff --git a/MotCamera2/lib/libmcf-common.so b/oem-cameras/MotCamera2/lib/arm/libmcf-common.so similarity index 100% rename from MotCamera2/lib/libmcf-common.so rename to oem-cameras/MotCamera2/lib/arm/libmcf-common.so diff --git a/MotCamera2/lib/libmcf-foundation.so b/oem-cameras/MotCamera2/lib/arm/libmcf-foundation.so similarity index 100% rename from MotCamera2/lib/libmcf-foundation.so rename to oem-cameras/MotCamera2/lib/arm/libmcf-foundation.so diff --git a/MotCamera2/lib/libmcf-foundation2.so b/oem-cameras/MotCamera2/lib/arm/libmcf-foundation2.so similarity index 100% rename from MotCamera2/lib/libmcf-foundation2.so rename to oem-cameras/MotCamera2/lib/arm/libmcf-foundation2.so diff --git a/MotCamera2/lib/libmcf-jni.so b/oem-cameras/MotCamera2/lib/arm/libmcf-jni.so similarity index 100% rename from MotCamera2/lib/libmcf-jni.so rename to oem-cameras/MotCamera2/lib/arm/libmcf-jni.so diff --git a/MotCamera2/lib/libmcf-local.so b/oem-cameras/MotCamera2/lib/arm/libmcf-local.so similarity index 100% rename from MotCamera2/lib/libmcf-local.so rename to oem-cameras/MotCamera2/lib/arm/libmcf-local.so diff --git a/MotCamera2/lib/libmcf-qc-fd-offline.so b/oem-cameras/MotCamera2/lib/arm/libmcf-qc-fd-offline.so similarity index 100% rename from MotCamera2/lib/libmcf-qc-fd-offline.so rename to oem-cameras/MotCamera2/lib/arm/libmcf-qc-fd-offline.so diff --git a/MotCamera2/lib/libmcf.so b/oem-cameras/MotCamera2/lib/arm/libmcf.so similarity index 100% rename from MotCamera2/lib/libmcf.so rename to oem-cameras/MotCamera2/lib/arm/libmcf.so diff --git a/MotCamera2/lib/libmcfutils.so b/oem-cameras/MotCamera2/lib/arm/libmcfutils.so similarity index 100% rename from MotCamera2/lib/libmcfutils.so rename to oem-cameras/MotCamera2/lib/arm/libmcfutils.so diff --git a/MotCamera2/lib/libmorpho_cinema_graph.so b/oem-cameras/MotCamera2/lib/arm/libmorpho_cinema_graph.so similarity index 100% rename from MotCamera2/lib/libmorpho_cinema_graph.so rename to oem-cameras/MotCamera2/lib/arm/libmorpho_cinema_graph.so diff --git a/MotCamera2/lib/libmorpho_defocusface.so b/oem-cameras/MotCamera2/lib/arm/libmorpho_defocusface.so similarity index 100% rename from MotCamera2/lib/libmorpho_defocusface.so rename to oem-cameras/MotCamera2/lib/arm/libmorpho_defocusface.so diff --git a/MotCamera2/lib/libmorpho_easy_hdr.so b/oem-cameras/MotCamera2/lib/arm/libmorpho_easy_hdr.so similarity index 100% rename from MotCamera2/lib/libmorpho_easy_hdr.so rename to oem-cameras/MotCamera2/lib/arm/libmorpho_easy_hdr.so diff --git a/MotCamera2/lib/libmorpho_image_stab5.so b/oem-cameras/MotCamera2/lib/arm/libmorpho_image_stab5.so similarity index 100% rename from MotCamera2/lib/libmorpho_image_stab5.so rename to oem-cameras/MotCamera2/lib/arm/libmorpho_image_stab5.so diff --git a/MotCamera2/lib/libmorpho_image_stabilizer4.so b/oem-cameras/MotCamera2/lib/arm/libmorpho_image_stabilizer4.so similarity index 100% rename from MotCamera2/lib/libmorpho_image_stabilizer4.so rename to oem-cameras/MotCamera2/lib/arm/libmorpho_image_stabilizer4.so diff --git a/MotCamera2/lib/libmorpho_panorama_gp3.so b/oem-cameras/MotCamera2/lib/arm/libmorpho_panorama_gp3.so similarity index 100% rename from MotCamera2/lib/libmorpho_panorama_gp3.so rename to oem-cameras/MotCamera2/lib/arm/libmorpho_panorama_gp3.so diff --git a/MotCamera2/lib/libmorpho_sensor_fusion.so b/oem-cameras/MotCamera2/lib/arm/libmorpho_sensor_fusion.so similarity index 100% rename from MotCamera2/lib/libmorpho_sensor_fusion.so rename to oem-cameras/MotCamera2/lib/arm/libmorpho_sensor_fusion.so diff --git a/MotCamera2/lib/libmorpho_super_resolution.so b/oem-cameras/MotCamera2/lib/arm/libmorpho_super_resolution.so similarity index 100% rename from MotCamera2/lib/libmorpho_super_resolution.so rename to oem-cameras/MotCamera2/lib/arm/libmorpho_super_resolution.so diff --git a/MotCamera2/lib/libmotioncore_01_00_000.so b/oem-cameras/MotCamera2/lib/arm/libmotioncore_01_00_000.so similarity index 100% rename from MotCamera2/lib/libmotioncore_01_00_000.so rename to oem-cameras/MotCamera2/lib/arm/libmotioncore_01_00_000.so diff --git a/MotCamera2/lib/libmpbase.so b/oem-cameras/MotCamera2/lib/arm/libmpbase.so similarity index 100% rename from MotCamera2/lib/libmpbase.so rename to oem-cameras/MotCamera2/lib/arm/libmpbase.so diff --git a/MotCamera2/lib/liboffline_fd_wrapper_01_00_000.so b/oem-cameras/MotCamera2/lib/arm/liboffline_fd_wrapper_01_00_000.so similarity index 100% rename from MotCamera2/lib/liboffline_fd_wrapper_01_00_000.so rename to oem-cameras/MotCamera2/lib/arm/liboffline_fd_wrapper_01_00_000.so diff --git a/MotCamera2/lib/libopenssh.so b/oem-cameras/MotCamera2/lib/arm/libopenssh.so similarity index 100% rename from MotCamera2/lib/libopenssh.so rename to oem-cameras/MotCamera2/lib/arm/libopenssh.so diff --git a/MotCamera2/lib/librefocus_image_wrapper_01_00_000.so b/oem-cameras/MotCamera2/lib/arm/librefocus_image_wrapper_01_00_000.so similarity index 100% rename from MotCamera2/lib/librefocus_image_wrapper_01_00_000.so rename to oem-cameras/MotCamera2/lib/arm/librefocus_image_wrapper_01_00_000.so diff --git a/MotCamera2/lib/libremosaic_tuning.so b/oem-cameras/MotCamera2/lib/arm/libremosaic_tuning.so similarity index 100% rename from MotCamera2/lib/libremosaic_tuning.so rename to oem-cameras/MotCamera2/lib/arm/libremosaic_tuning.so diff --git a/MotCamera2/lib/libremosaic_wrapper.so b/oem-cameras/MotCamera2/lib/arm/libremosaic_wrapper.so similarity index 100% rename from MotCamera2/lib/libremosaic_wrapper.so rename to oem-cameras/MotCamera2/lib/arm/libremosaic_wrapper.so diff --git a/MotCamera2/lib/libremosaiclib.so b/oem-cameras/MotCamera2/lib/arm/libremosaiclib.so similarity index 100% rename from MotCamera2/lib/libremosaiclib.so rename to oem-cameras/MotCamera2/lib/arm/libremosaiclib.so diff --git a/MotCamera2/lib/libsnpe-android.so b/oem-cameras/MotCamera2/lib/arm/libsnpe-android.so similarity index 100% rename from MotCamera2/lib/libsnpe-android.so rename to oem-cameras/MotCamera2/lib/arm/libsnpe-android.so diff --git a/MotCamera2/lib/libsnpe_adsp.so b/oem-cameras/MotCamera2/lib/arm/libsnpe_adsp.so similarity index 100% rename from MotCamera2/lib/libsnpe_adsp.so rename to oem-cameras/MotCamera2/lib/arm/libsnpe_adsp.so diff --git a/MotCamera2/lib/libsnpe_dsp_domains.so b/oem-cameras/MotCamera2/lib/arm/libsnpe_dsp_domains.so similarity index 100% rename from MotCamera2/lib/libsnpe_dsp_domains.so rename to oem-cameras/MotCamera2/lib/arm/libsnpe_dsp_domains.so diff --git a/MotCamera2/lib/libsnpe_dsp_domains_skel.so b/oem-cameras/MotCamera2/lib/arm/libsnpe_dsp_domains_skel.so similarity index 100% rename from MotCamera2/lib/libsnpe_dsp_domains_skel.so rename to oem-cameras/MotCamera2/lib/arm/libsnpe_dsp_domains_skel.so diff --git a/MotCamera2/lib/libsnpe_dsp_skel.so b/oem-cameras/MotCamera2/lib/arm/libsnpe_dsp_skel.so similarity index 100% rename from MotCamera2/lib/libsnpe_dsp_skel.so rename to oem-cameras/MotCamera2/lib/arm/libsnpe_dsp_skel.so diff --git a/MotCamera2/lib/libsnpe_dsp_v65_domains_skel.so b/oem-cameras/MotCamera2/lib/arm/libsnpe_dsp_v65_domains_skel.so similarity index 100% rename from MotCamera2/lib/libsnpe_dsp_v65_domains_skel.so rename to oem-cameras/MotCamera2/lib/arm/libsnpe_dsp_v65_domains_skel.so diff --git a/MotCamera2/lib/libsuper_resolution_wrapper_morpho_v2.so b/oem-cameras/MotCamera2/lib/arm/libsuper_resolution_wrapper_morpho_v2.so similarity index 100% rename from MotCamera2/lib/libsuper_resolution_wrapper_morpho_v2.so rename to oem-cameras/MotCamera2/lib/arm/libsuper_resolution_wrapper_morpho_v2.so diff --git a/MotCamera2/lib/libsymphony-cpu.so b/oem-cameras/MotCamera2/lib/arm/libsymphony-cpu.so similarity index 100% rename from MotCamera2/lib/libsymphony-cpu.so rename to oem-cameras/MotCamera2/lib/arm/libsymphony-cpu.so diff --git a/MotCamera2/lib/libsymphonypower.so b/oem-cameras/MotCamera2/lib/arm/libsymphonypower.so similarity index 100% rename from MotCamera2/lib/libsymphonypower.so rename to oem-cameras/MotCamera2/lib/arm/libsymphonypower.so diff --git a/MotCamera2/lib/libubifocus_wrapper_01_00_000.so b/oem-cameras/MotCamera2/lib/arm/libubifocus_wrapper_01_00_000.so similarity index 100% rename from MotCamera2/lib/libubifocus_wrapper_01_00_000.so rename to oem-cameras/MotCamera2/lib/arm/libubifocus_wrapper_01_00_000.so diff --git a/MotCamera2/lib/libzxing_01_00_000.so b/oem-cameras/MotCamera2/lib/arm/libzxing_01_00_000.so similarity index 100% rename from MotCamera2/lib/libzxing_01_00_000.so rename to oem-cameras/MotCamera2/lib/arm/libzxing_01_00_000.so diff --git a/MotCamera2/lib/libzxingwrapper_01_00_000.so b/oem-cameras/MotCamera2/lib/arm/libzxingwrapper_01_00_000.so similarity index 100% rename from MotCamera2/lib/libzxingwrapper_01_00_000.so rename to oem-cameras/MotCamera2/lib/arm/libzxingwrapper_01_00_000.so diff --git a/MotCamera2/lib/test.txt b/oem-cameras/MotCamera2/lib/arm/test.txt similarity index 100% rename from MotCamera2/lib/test.txt rename to oem-cameras/MotCamera2/lib/arm/test.txt diff --git a/MotCamera2/lib64/librcfw.so b/oem-cameras/MotCamera2/lib/arm64/librcfw.so similarity index 100% rename from MotCamera2/lib64/librcfw.so rename to oem-cameras/MotCamera2/lib/arm64/librcfw.so diff --git a/product.mk b/product.mk index c2c5fed..37afc94 100644 --- a/product.mk +++ b/product.mk @@ -1,117 +1,42 @@ -PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.opa.eligible_device=true - -# Themes -DEVICE_PACKAGE_OVERLAYS += vendor/extra/overlay -PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/extra/overlay +## ADB Keys +# Android +PRODUCT_COPY_FILES += \ + vendor/extra/adb_keys:root/adb_keys +# Recovery +PRODUCT_COPY_FILES += \ + vendor/extra/adb_keys:recovery/root/adb_keys -DEVICE_PACKAGE_OVERLAYS += vendor/extra/overlay-lineage -PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/extra/overlay-lineage +## Custom Cameras +# berkeley +ifneq ($(filter %berkeley,$(TARGET_PRODUCT)),) +-include vendor/extra/oem-cameras/HwCamera2/HwCamera2.mk +endif +# nash +ifneq ($(filter %nash,$(TARGET_PRODUCT)),) +-include vendor/extra/oem-cameras/MotCamera2/MotCamera2.mk +endif +## Media PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ ro.config.vc_call_vol_steps=7 \ ro.config.media_vol_steps=25 -PRODUCT_SYSTEM_DEFAULT_PROPERTIES += lineage.updater.uri="https://updater.oddsolutions.us/api/v1/{device}/{type}/{incr}" - -# Android ADB keys -PRODUCT_COPY_FILES += \ - vendor/extra/adb_keys:root/adb_keys +## OPA +PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.opa.eligible_device=true -# Recovery ADB keys -PRODUCT_COPY_FILES += \ - vendor/extra/adb_keys:recovery/root/adb_keys +## Updater +PRODUCT_SYSTEM_DEFAULT_PROPERTIES += lineage.updater.uri="https://updater.oddsolutions.us/api/v1/{device}/{type}/{incr}" -# Signing +## Signing PRODUCT_DEFAULT_DEV_CERTIFICATE := vendor/certs/releasekey PRODUCT_VERITY_SIGNING_KEY := vendor/certs/verity +## Themes +DEVICE_PACKAGE_OVERLAYS += vendor/extra/overlay +PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/extra/overlay -ifneq ($(filter %berkeley,$(TARGET_PRODUCT)),) -PRODUCT_PACKAGES += \ - HwCamera2 - -PRODUCT_COPY_FILES := \ - vendor/extra/HwCamera2/lib/arm/libfyusenet.so:system/priv-app/HwCamera2/lib/arm/libfyusenet.so \ - vendor/extra/HwCamera2/lib/arm/libgif_maker.so:system/priv-app/HwCamera2/lib/arm/libgif_maker.so \ - vendor/extra/HwCamera2/lib/arm/libHW_Pano_f.so:system/priv-app/HwCamera2/lib/arm/libHW_Pano_f.so \ - vendor/extra/HwCamera2/lib/arm/libHwPostCamera_jni.so:system/priv-app/HwCamera2/lib/arm/libHwPostCamera_jni.so \ - vendor/extra/HwCamera2/lib/arm/libIvw35.so:system/priv-app/HwCamera2/lib/arm/libIvw35.so \ - vendor/extra/HwCamera2/lib/arm/libjni_front_panorama_beauty_hidl.so:system/priv-app/HwCamera2/lib/arm/libjni_front_panorama_beauty_hidl.so \ - vendor/extra/HwCamera2/lib/arm/libjni_front_panorama_camera2.so:system/priv-app/HwCamera2/lib/arm/libjni_front_panorama_camera2.so \ - vendor/extra/HwCamera2/lib/arm/libjni_mrc_cg_filters_camera2.so:system/priv-app/HwCamera2/lib/arm/libjni_mrc_cg_filters_camera2.so \ - vendor/extra/HwCamera2/lib/arm/libJniVoiceCapture.so:system/priv-app/HwCamera2/lib/arm/libJniVoiceCapture.so \ - vendor/extra/HwCamera2/lib/arm/libmorpho_memory_allocator.so:system/priv-app/HwCamera2/lib/arm/libmorpho_memory_allocator.so \ - vendor/extra/HwCamera2/lib/arm/libmorpho_panorama_gp.so:system/priv-app/HwCamera2/lib/arm/libmorpho_panorama_gp.so \ - vendor/extra/HwCamera2/lib/arm/libscanner.so:system/priv-app/HwCamera2/lib/arm/libscanner.so \ - vendor/extra/HwCamera2/lib/arm/libTargetTracking.so:system/priv-app/HwCamera2/lib/arm/libTargetTracking.so \ - vendor/extra/HwCamera2/lib/arm/libtrack.so:system/priv-app/HwCamera2/lib/arm/libtrack.so \ - vendor/extra/HwCamera2/lib/arm/vendor.huawei.hardware.camera.cfgsvr@1.0.so:system/priv-app/HwCamera2/lib/arm/vendor.huawei.hardware.camera.cfgsvr@1.0.so \ - vendor/extra/HwCamera2/lib/arm/vendor.huawei.hardware.camera.cfgsvr@1.1.so:system/priv-app/HwCamera2/lib/arm/vendor.huawei.hardware.camera.cfgsvr@1.1.so -endif - -ifneq ($(filter %nash,$(TARGET_PRODUCT)),) -PRODUCT_PACKAGES += \ - MotCamera2 - -PRODUCT_COPY_FILES := \ - vendor/extra/MotCamera2/lib/libDepthBokehEffect.so:system/lib/libDepthBokehEffect.so \ - vendor/extra/MotCamera2/lib/libFNVfbEngineHAL.so:system/lib/libFNVfbEngineHAL.so \ - vendor/extra/MotCamera2/lib/libMobileOcrEngine.so:system/lib/libMobileOcrEngine.so \ - vendor/extra/MotCamera2/lib/libMotDoF.so:system/lib/libMotDoF.so \ - vendor/extra/MotCamera2/lib/libSNPE.so:system/lib/libSNPE.so \ - vendor/extra/MotCamera2/lib/libSNPExecutor.so:system/lib/libSNPExecutor.so \ - vendor/extra/MotCamera2/lib/libarcsoft_agegender_estimation.so:system/lib/libarcsoft_agegender_estimation.so \ - vendor/extra/MotCamera2/lib/libarcsoft_beautyshot.so:system/lib/libarcsoft_beautyshot.so \ - vendor/extra/MotCamera2/lib/libarcsoft_dualcam_refocus.so:system/lib/libarcsoft_dualcam_refocus.so \ - vendor/extra/MotCamera2/lib/libbsDepthWrapper_01_00_000.so:system/lib/libbsDepthWrapper_01_00_000.so \ - vendor/extra/MotCamera2/lib/libc++_shared.so:system/lib/libc++_shared.so \ - vendor/extra/MotCamera2/lib/libclearsight.so:system/lib/libclearsight.so \ - vendor/extra/MotCamera2/lib/libclearsight_wrapper_01_00_000.so:system/lib/libclearsight_wrapper_01_00_000.so \ - vendor/extra/MotCamera2/lib/libddm_wrapper_01_00_000.so:system/lib/libddm_wrapper_01_00_000.so \ - vendor/extra/MotCamera2/lib/libdualcameraddm.so:system/lib/libdualcameraddm.so \ - vendor/extra/MotCamera2/lib/libframe_stack_wrapper_morpho_v4.so:system/lib/libframe_stack_wrapper_morpho_v4.so \ - vendor/extra/MotCamera2/lib/libframe_stack_wrapper_morpho_v5.so:system/lib/libframe_stack_wrapper_morpho_v5.so \ - vendor/extra/MotCamera2/lib/libgif.so:system/lib/libgif.so \ - vendor/extra/MotCamera2/lib/liblenovo_panorama.so:system/lib/liblenovo_panorama.so \ - vendor/extra/MotCamera2/lib/libmcf-common.so:system/lib/libmcf-common.so \ - vendor/extra/MotCamera2/lib/libmcf-foundation.so:system/lib/libmcf-foundation.so \ - vendor/extra/MotCamera2/lib/libmcf-foundation2.so:system/lib/libmcf-foundation2.so \ - vendor/extra/MotCamera2/lib/libmcf-jni.so:system/lib/libmcf-jni.so \ - vendor/extra/MotCamera2/lib/libmcf-local.so:system/lib/libmcf-local.so \ - vendor/extra/MotCamera2/lib/libmcf-qc-fd-offline.so:system/lib/libmcf-qc-fd-offline.so \ - vendor/extra/MotCamera2/lib/libmcf.so:system/lib/libmcf.so \ - vendor/extra/MotCamera2/lib/libmcfutils.so:system/lib/libmcfutils.so \ - vendor/extra/MotCamera2/lib/libmorpho_cinema_graph.so:system/lib/libmorpho_cinema_graph.so \ - vendor/extra/MotCamera2/lib/libmorpho_defocusface.so:system/lib/libmorpho_defocusface \ - vendor/extra/MotCamera2/lib/libmorpho_easy_hdr.so:system/lib/libmorpho_easy_hdr.so \ - vendor/extra/MotCamera2/lib/libmorpho_image_stab5.so:system/lib/libmorpho_image_stab5.so \ - vendor/extra/MotCamera2/lib/libmorpho_image_stabilizer4.so:system/lib/libmorpho_image_stabilizer4.so \ - vendor/extra/MotCamera2/lib/libmorpho_panorama_gp3.so:system/lib/libmorpho_panorama_gp3.so \ - vendor/extra/MotCamera2/lib/libmorpho_sensor_fusion.so:system/lib/libmorpho_sensor_fusion.so \ - vendor/extra/MotCamera2/lib/libmorpho_super_resolution.so:system/lib/libmorpho_super_resolution.so \ - vendor/extra/MotCamera2/lib/libmotioncore_01_00_000.so:system/lib/libmotioncore_01_00_000.so \ - vendor/extra/MotCamera2/lib/libmpbase.so:system/lib/libmpbase.so \ - vendor/extra/MotCamera2/lib/liboffline_fd_wrapper_01_00_000.so:system/lib/liboffline_fd_wrapper_01_00_000.so \ - vendor/extra/MotCamera2/lib/libopenssh.so:system/lib/libopenssh.so \ - vendor/extra/MotCamera2/lib/librefocus_image_wrapper_01_00_000.so:system/lib/librefocus_image_wrapper_01_00_000.so \ - vendor/extra/MotCamera2/lib/libremosaic_tuning.so:system/lib/libremosaic_tuning.so \ - vendor/extra/MotCamera2/lib/libremosaic_wrapper.so:system/lib/libremosaic_wrapper.so \ - vendor/extra/MotCamera2/lib/libremosaiclib.so:system/lib/libremosaiclib.so \ - vendor/extra/MotCamera2/lib/libsnpe-android.so:system/lib/libsnpe-android.so \ - vendor/extra/MotCamera2/lib/libsnpe_adsp.so:system/lib/libsnpe_adsp.so \ - vendor/extra/MotCamera2/lib/libsnpe_dsp_domains.so:system/lib/libsnpe_dsp_domains.so \ - vendor/extra/MotCamera2/lib/libsnpe_dsp_domains_skel.so:system/lib/libsnpe_dsp_domains_skel.so \ - vendor/extra/MotCamera2/lib/libsnpe_dsp_skel.so:system/lib/libsnpe_dsp_skel.so \ - vendor/extra/MotCamera2/lib/libsnpe_dsp_v65_domains_skel.so:system/lib/libsnpe_dsp_v65_domains_skel.so \ - vendor/extra/MotCamera2/lib/libsuper_resolution_wrapper_morpho_v2.so:system/lib/libsuper_resolution_wrapper_morpho_v2.so \ - vendor/extra/MotCamera2/lib/libsymphony-cpu.so:system/lib/libsymphony-cpu.so \ - vendor/extra/MotCamera2/lib/libsymphonypower.so:system/lib/libsymphonypower.so \ - vendor/extra/MotCamera2/lib/libubifocus_wrapper_01_00_000.so:system/lib/libubifocus_wrapper_01_00_000.so \ - vendor/extra/MotCamera2/lib/libzxing_01_00_000.so:system/lib/libzxing_01_00_000.so \ - vendor/extra/MotCamera2/lib/libzxingwrapper_01_00_000.so:system/lib/libzxingwrapper_01_00_000.so \ - vendor/extra/MotCamera2/lib64/librcfw.so:system/lib64/librcfw.so - -endif +DEVICE_PACKAGE_OVERLAYS += vendor/extra/overlay-lineage +PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/extra/overlay-lineage EXCLUDE_GOOGLE_SERVICES_DEVICES += \ %flo \