KK GMS GoolgeCamera应用预置
[DESCRIPTION]
MTK Camera有做深度定制,从上层到底层代码都有不同程度的修改,如果直接预置GMS中的GoogleCamera应用会出现冲突,导致编译问题
如果需要预置KK GMS GoogleCamera应用,请参照如下修改
[SOLUTION]
有四支文件需要修改:
1.
external/jpeg/Android.mk(3处)
libjpeg ==> libjpeg_old
2.
mediatek/platform/MT6592/hardware/mtkcam/v1/hal/adapter/Android.mk
LOCAL_SHARED_LIBARIES += libjpeg ==> libmtkjpeg
3.
mediatek/platform/mt6592/hardware/mtkcam/v1/hal/adapter/MtkAtv/Android.mk
LOCAL_C_INCLUDES += $(TOP)/external/jpeg ==> += $(TOP)/$(MTK_PATH_SOURCE)/external/mtkjpeg
4.
mediatek//platform/mt6592/hardware/mtkcam/core/camshot/Android.mk
LOCAL_C_INCLUDES += $(TOP)/external/jpeg ==> += $(TOP)/$(MTK_PATH_SOURCE)/external/mtkjpeg
LOCAL_SHARED_LIBARIES += libjpeg ==> libmtkjpeg
以上mt6592对应芯片名,即如果是72等项目,按照相应的名称修改即可
谢谢!
MTK Camera有做深度定制,从上层到底层代码都有不同程度的修改,如果直接预置GMS中的GoogleCamera应用会出现冲突,导致编译问题
如果需要预置KK GMS GoogleCamera应用,请参照如下修改
[SOLUTION]
有四支文件需要修改:
1.
external/jpeg/Android.mk(3处)
libjpeg ==> libjpeg_old
2.
mediatek/platform/MT6592/hardware/mtkcam/v1/hal/adapter/Android.mk
LOCAL_SHARED_LIBARIES += libjpeg ==> libmtkjpeg
3.
mediatek/platform/mt6592/hardware/mtkcam/v1/hal/adapter/MtkAtv/Android.mk
LOCAL_C_INCLUDES += $(TOP)/external/jpeg ==> += $(TOP)/$(MTK_PATH_SOURCE)/external/mtkjpeg
4.
mediatek//platform/mt6592/hardware/mtkcam/core/camshot/Android.mk
LOCAL_C_INCLUDES += $(TOP)/external/jpeg ==> += $(TOP)/$(MTK_PATH_SOURCE)/external/mtkjpeg
LOCAL_SHARED_LIBARIES += libjpeg ==> libmtkjpeg
以上mt6592对应芯片名,即如果是72等项目,按照相应的名称修改即可
谢谢!