拿长截屏模块示例:
1.在/home/zhangjinbiao/other/mild/SharingDoc/code/7521/alps/android_mtk_m_6753_65t_mp1/gn_project路径下的mk文件中配置一个宏:GN_APK_LONGSCREENSHOT_SUPPORT = yes
2.在/home/zhangjinbiao/other/mild/SharingDoc/code/7521/alps/android_mtk_m_6753_65t_mp1/gn_project路径下的gn_common.mk中配置几行脚本:
#gionee chenbo 20150813 modify for CR01536820 begin
ifeq ($(strip $(GN_APK_LONGSCREENSHOT_SUPPORT)), yes)
PRODUCT_PACKAGES += GN_LongScreenshot
PRODUCT_PACKAGES += GN_LONGSCREENSHOT
endif
#gionee chenbo 20150813 modify for CR01536820 end
3.在/home/zhangjinbiao/other/mild/SharingDoc/code/7521/gionee_packages_apk_amigo_4.0/common/apps/GN_LongScreenshot下的Android.mk中配置几行脚本:
ifeq ("$(GN_APK_LONGSCREENSHOT_SUPPORT)","yes")
LOCAL_PATH := $(call my-dir)