Android.mk代码注释-创新互联
参考文章:http://www.cnblogs.com/wainiwann/p/3837936.html
创新互联2013年至今,是专业互联网技术服务公司,拥有项目做网站、成都网站建设网站策划,项目实施与项目整合能力。我们以让每一个梦想脱颖而出为使命,1280元柳北做网站,已为上家服务,为柳北各地企业和个人服务,联系电话:18980820575LOCAL_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)
另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
网站栏目:Android.mk代码注释-创新互联
网页地址:http://ybzwz.com/article/hcijj.html