版权申明:
本文原创首发于以下网站,您可以自由转载,但必须加入完整的版权声明
博客园: https://www.cnblogs.com/Mogoo...【android|Android.mk语法说明】
csdn博客: https://blog.csdn.net/nmjkl001/
知乎: https://www.zhihu.com/people/...
简书: https://www.jianshu.com/u/954...
segmentfault: https://segmentfault.com/u/mo...
文章图片
路径
- MY_LOCAL_PATH := $(call my-dir)
- LOCAL_PATH := $(MY_LOCAL_PATH)
- MY_SOURCE_PATH := $((LOCAL_PATH)../../../code/source)
- include $(CLEAR_VARS)
- LOCAL_MODULE := liblive2d
- LOCAL_SRC_FILES := ../../../hero_external/Live2d/android/$(TARGET_ARCH_ABI)/liblive2d.a
- include $(PREBUILT_STATIC_LIBRARY)
- LOCAL_CFLAGS := -I$(LOCAL_PATH)/boost/include/boost-1_53
- LOCAL_CPPFLAGS := -DL2D_TARGET_ANDROID_ES2
- include $(CLEAR_VARS)
- LOCAL_MODULE := game_shared
- LOCAL_MODULE_FILENAME := libgame
- LOCAL_SRC_FILES := ./MianProj/main.cpp\
- LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../hero_external/Live2d/include
- LOCAL_STATIC_LIBRARIES := curl_static_prebuilt
- LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static
- LOCAL_SHADED_LIBRARIES := libYvImSdk
- include $(BUILD_SHARED_LIBRARY)
QQ:2161044579
邮箱:mogoostudio@outlook.com
Github: https://github.com/MogooStudio