大橙子网站建设,新征程启航

为企业提供网站建设、域名注册、服务器等服务

Android.mk代码注释

参考文章:http://www.cnblogs.com/wainiwann/p/3837936.html

红安ssl适用于网站、小程序/APP、API接口等需要进行数据传输应用场景,ssl证书未来市场广阔!成为成都创新互联的ssl证书销售渠道,可以享受市场价格4-6折优惠!如果有意向欢迎电话联系或者加微信:18980820575(备注:SSL证书合作)期待与您的合作!

LOCAL_PATH := $(call my-dir)  #返回Android.mk的目录路径

include $(CLEAR_VARS)   #负责清理很多LOCAL_xxx. 例如:LOCAL_MODULE, LOCAL_SRC_FILES, LOCAL_STATIC_LIBRARIES等等。但不清理LOCAL_PATH.

LOCAL_MODULE := libjpush273   #模块的文件路径 ,Android.mk中的每一个模块

LOCAL_SRC_FILES := jpush/libjpush273.so   #模块的文件路径

include $(PREBUILT_SHARED_LIBRARY)  #把这个共享库声明为 “一个” 独立的模块,    预先编译好的动态库

LOCAL_SHARED_LIBRARIES := libjpush273  #要链接到本模块的动态库(更改或删掉无用)

include $(CLEAR_VARS)

LOCAL_MODULE := bugly

LOCAL_SRC_FILES := bugly/libBugly.so

include $(PREBUILT_SHARED_LIBRARY)

LOCAL_SHARED_LIBRARIES := bugly

include $(CLEAR_VARS)

LOCAL_MODULE := cocos2dlua_shared

LOCAL_MODULE_FILENAME := libcocos2dlua  #即允许用户重新定义最终生成的目标文件名

LOCAL_CFLAGS += -DUSING_LUA

LOCAL_SRC_FILES :=hellolua/main.cpp \     #模块的文件路径

../../Classes/AppDelegate.cpp \

../../Classes/auto/lua_client_auto.cpp \

../../Classes/auto/lua_ui_extensions_auto.cpp \

../../Classes/manual/lua_client_manual.cpp \

../../Classes/Net/GameNetManager.cpp \

../../Classes/Net/MsgHandler.cpp \

../../lib/common/AdapterToLua.cpp \

../../lib/common/exceptdump.cpp \

../../lib/extensions/AnimateMgr.cpp \

../../lib/extensions/AnimateSprite.cpp \

../../lib/extensions/ParticleSystemCommon.cpp \

../../lib/extensions/ResourceMgr.cpp \

../../lib/extensions/SpriteAnimate.cpp \

../../lib/extensions/UtilEx.cpp \

../../lib/extensions/ZipFileEx.cpp \

../../lib/gamescene/AStarFindPath.cpp \

../../lib/gamescene/GameMap.cpp \

../../lib/gamescene/GameScene.cpp \

../../lib/gamescene/MapConfig.cpp \

../../lib/gamescene/RenderGroup.cpp \

../../lib/gamescene/Terrain.cpp \

../../lib/gamescene/TerrainNode.cpp \

../../lib/md5/md5.c \

../../lib/memory/clmempool.cpp \

../../lib/memory/memmonitor.cpp \

../../lib/memory/mempool.cpp \

../../lib/memory/mempoolex.cpp \

../../lib/memory/msgmem.cpp \

../../lib/network/HttpClient.cpp \

../../lib/network/NetworkManager.cpp \

../../lib/network/basicnetwork/basicnetwork.cpp \

../../lib/network/basicnetwork/jobaccept.cpp \

../../lib/network/basicnetwork/jobdisconnect.cpp \

../../lib/network/basicnetwork/jobrecv.cpp \

../../lib/network/basicnetwork/listenhandler.cpp \

../../lib/network/basicnetwork/network.cpp \

../../lib/network/basicnetwork/tcphandler.cpp \

../../lib/platform/system.cpp \

../../lib/platform/systemex.cpp \

../../lib/platform/platform_adapter.cpp \

../../lib/platform/socket/pisocket.cpp \

../../lib/platform/socket/pisocketex.cpp \

../../lib/platform/thread/event.cpp \

../../lib/platform/thread/mutex.cpp \

../../lib/platform/thread/semaphore.cpp \

../../lib/platform/thread/thread.cpp \

../../lib/ui_extensions/UIJoystick.cpp \

../../lib/ui_extensions/UILoadingBarEx.cpp \

../../lib/ui_extensions/UIRichTextEx.cpp \

../../lib/ui_extensions/UITextFieldEx.cpp \

../../lib/ui_extensions/UIToggleButton.cpp

   

LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes \    #一个可选的path列表。相对于NDK ROOT 目录

$(LOCAL_PATH)/../../Classes/Net \

$(LOCAL_PATH)/../../Classes/lua_manual \

$(LOCAL_PATH)/../../Classes/auto \

$(LOCAL_PATH)/../../Classes/anysdk \

$(LOCAL_PATH)/../../lib \

$(LOCAL_PATH)/../../lib/auto \

$(LOCAL_PATH)/../../lib/common \

$(LOCAL_PATH)/../../lib/extensions \

$(LOCAL_PATH)/../../lib/gamescene \

$(LOCAL_PATH)/../../lib/md5 \

$(LOCAL_PATH)/../../lib/memory \

$(LOCAL_PATH)/../../lib/network \

$(LOCAL_PATH)/../../lib/platform \

$(LOCAL_PATH)/../../lib/ui_extensions \

$(LOCAL_PATH)/../../../cocos2d-x/cocos \

$(LOCAL_PATH)/../../../cocos2d-x/cocos/2d \

$(LOCAL_PATH)/../../../cocos2d-x/cocos/2d/platform \

$(LOCAL_PATH)/../../../cocos2d-x/cocos/2d/platform\android \

$(LOCAL_PATH)/../../../cocos2d-x/cocos/2d/platform\desktop \

$(LOCAL_PATH)/../../../cocos2d-x/cocos/2d/renderer \

$(LOCAL_PATH)/../../../cocos2d-x/cocos/base \

$(LOCAL_PATH)/../../../cocos2d-x/cocos/math \

$(LOCAL_PATH)/../../../cocos2d-x/cocos/math/kazmath \

$(LOCAL_PATH)/../../../cocos2d-x/cocos/physics \

$(LOCAL_PATH)/../../../cocos2d-x/cocos/platform \

$(LOCAL_PATH)/../../../cocos2d-x/cocos/renderer\

$(LOCAL_PATH)/../../../cocos2d-x/cocos/ui \

$(LOCAL_PATH)/../../../cocos2d-x/extensions \

$(LOCAL_PATH)/../../../cocos2d-x/external \

$(LOCAL_PATH)/../../../cocos2d-x/external/lua/tolua \

$(LOCAL_PATH)/../../../cocos2d-x/external/lua/luajit/include \

$(LOCAL_PATH)/../../../cocos2d-x/external/lua \

$(LOCAL_PATH)/../../../cocos2d-x/external/tinyxml2 \

$(LOCAL_PATH)/../../../cocos2d-x/external/xxtea \

$(LOCAL_PATH)/../../../cocos2d-x/cocos/scripting/lua-bindings/auto \

$(LOCAL_PATH)/../../../cocos2d-x/cocos/scripting/lua-bindings/manual

LOCAL_STATIC_LIBRARIES := cocos_curl_static

LOCAL_STATIC_LIBRARIES += cocos_mbedtls_static

LOCAL_STATIC_LIBRARIES += cocos_lua_static

include $(BUILD_SHARED_LIBRARY)

#BUILD_SHARED_LIBRARY  指向一个编译脚本,它收集自从上次调用 include $(CLEAR_VARS)  后的所有LOCAL_XXX信息。

并决定如何将你列出的Source编译成一个动态库。 注意,在包含此文件前,至少应该包含:LOCAL_MODULE and LOCAL_SRC_FILES 例如: include $(BUILD_SHARED_LIBRARY)

$(call import-module,scripting/lua-bindings)


网站标题:Android.mk代码注释
当前路径:http://dzwzjz.com/article/gdicic.html
在线咨询
服务热线
服务热线:028-86922220
TOP