Add hacked HDR+ google camera with JNIs on 8996 and 8998 platforms

cm-14.1
Rashed Abdel-Tawab 7 years ago
parent 78a8d33390
commit cf59fe31be
No known key found for this signature in database
GPG Key ID: 87867AAE006CB094
  1. 80
      GoogleCam/Android.mk
  2. BIN
      GoogleCam/GoogleCam.apk
  3. BIN
      GoogleCam/lib/arm/libhalide_hexagon_host.so
  4. BIN
      GoogleCam/lib/arm/libhalide_hexagon_remote_skel.so
  5. BIN
      GoogleCam/lib/arm64/libAndroidJniUtilsJni.so
  6. BIN
      GoogleCam/lib/arm64/libJniUtilsJni.so
  7. BIN
      GoogleCam/lib/arm64/libadsprpc_app_N.so
  8. BIN
      GoogleCam/lib/arm64/libfacebeautification.so
  9. BIN
      GoogleCam/lib/arm64/libfilterframework_jni.so
  10. BIN
      GoogleCam/lib/arm64/libgcam.so
  11. BIN
      GoogleCam/lib/arm64/libgcam_swig_jni.so
  12. BIN
      GoogleCam/lib/arm64/libgyrostabilization-jni.so
  13. BIN
      GoogleCam/lib/arm64/libhalide_hexagon_host_app.so
  14. BIN
      GoogleCam/lib/arm64/libjni_faceutil.so
  15. BIN
      GoogleCam/lib/arm64/libjni_imgutil.so
  16. BIN
      GoogleCam/lib/arm64/libjni_yuvutil.so
  17. BIN
      GoogleCam/lib/arm64/liblensoffsetcalculation-jni.so
  18. BIN
      GoogleCam/lib/arm64/liblightcycle.so
  19. BIN
      GoogleCam/lib/arm64/librefocus.so
  20. BIN
      GoogleCam/lib/arm64/libsmartburst-jni.so
  21. BIN
      GoogleCam/lib/arm64/libvision_face_jni.so
  22. 5
      gapps.mk

@ -0,0 +1,80 @@
LOCAL_PATH := $(call my-dir)
GOOGLE_CAM_LIBRARIES := \
libAndroidJniUtilsJni \
libJniUtilsJni \
libadsprpc_app_N \
libfacebeautification \
libfilterframework_jni \
libgcam \
libgcam_swig_jni \
libgyrostabilization-jni \
libhalide_hexagon_host_app \
libjni_faceutil \
libjni_imgutil \
libjni_yuvutil \
liblensoffsetcalculation-jni \
liblightcycle \
librefocus \
libsmartburst-jni \
libvision_face_jni
define define-google-cam-lib
include $$(CLEAR_VARS)
LOCAL_MODULE := $1
LOCAL_MODULE_OWNER := google
LOCAL_SRC_FILES := lib/arm64/$1.so
LOCAL_STRIP_MODULE := false
LOCAL_MULTILIB := 64
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_SUFFIX := .so
include $$(BUILD_PREBUILT)
endef
$(foreach lib,$(GOOGLE_CAM_LIBRARIES),\
$(eval $(call define-google-cam-lib,$(lib))))
include $(CLEAR_VARS)
LOCAL_MODULE := libhalide_hexagon_host
LOCAL_MODULE_OWNER := google
LOCAL_SRC_FILES := lib/arm/libhalide_hexagon_host.so
LOCAL_STRIP_MODULE := false
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_SUFFIX := .so
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := libhalide_hexagon_remote_skel
LOCAL_MODULE_OWNER := google
LOCAL_SRC_FILES := lib/arm/libhalide_hexagon_host.so
LOCAL_STRIP_MODULE := false
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_SUFFIX := .so
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := adsp_camera
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := GoogleCam
LOCAL_MODULE_OWNER := google
LOCAL_SRC_FILES := GoogleCam.apk
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_DEX_PREOPT := false
LOCAL_MODULE_SUFFIX := .apk
LOCAL_PRIVILEGED_MODULE := true
LOCAL_REQUIRED_MODULES := libhalide_hexagon_host libhalide_hexagon_remote_skel
LOCAL_JNI_SHARED_LIBRARIES := \
$(GOOGLE_CAM_LIBRARIES) \
libjni_jpegutil \
libnativehelper_compat_libc++ \
librsjni
include $(BUILD_PREBUILT)

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -1,6 +1,11 @@
LOCAL_PATH := $(call my-dir)
GAPPS_VARIANT := super
GAPPS_FORCE_PACKAGE_OVERRIDES := true
GAPPS_FORCE_PIXEL_LAUNCHER := true
$(call inherit-product-if-exists, vendor/opengapps/build/opengapps-packages.mk)
ifneq ($(filter msm8996 msm8998,$(TARGET_BOARD_PLATFORM)),)
PRODUCT_PACKAGES += GoogleCam
endif # msm8996 msm8998

Loading…
Cancel
Save