mirror of https://github.com/axmolengine/axmol.git
Adjust android.mk for cocos2d and related module
This commit is contained in:
parent
9135236bb0
commit
bef774a14a
|
@ -28,6 +28,6 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/.. \
|
|||
$(LOCAL_PATH)/../../external \
|
||||
$(LOCAL_PATH)/../platform/android
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := cocos2dx_static
|
||||
LOCAL_STATIC_LIBRARIES := cocos2dx_internal_static
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
|
|
@ -2,9 +2,9 @@ LOCAL_PATH := $(call my-dir)
|
|||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := cocos2dx_static
|
||||
LOCAL_MODULE := cocos2dx_internal_static
|
||||
|
||||
LOCAL_MODULE_FILENAME := libcocos2d
|
||||
LOCAL_MODULE_FILENAME := libcocos2dxinternal
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
cocos2d.cpp \
|
||||
|
@ -216,18 +216,7 @@ LOCAL_STATIC_LIBRARIES += cocos_png_static
|
|||
LOCAL_STATIC_LIBRARIES += cocos_jpeg_static
|
||||
LOCAL_STATIC_LIBRARIES += cocos_tiff_static
|
||||
LOCAL_STATIC_LIBRARIES += cocos_webp_static
|
||||
LOCAL_STATIC_LIBRARIES += cocos3d_static
|
||||
LOCAL_STATIC_LIBRARIES += cocosdenshion_static
|
||||
LOCAL_STATIC_LIBRARIES += cocosbuilder_static
|
||||
LOCAL_STATIC_LIBRARIES += cocostudio_static
|
||||
LOCAL_STATIC_LIBRARIES += spine_static
|
||||
LOCAL_STATIC_LIBRARIES += cocos_network_static
|
||||
LOCAL_STATIC_LIBRARIES += cocos_ui_static
|
||||
LOCAL_STATIC_LIBRARIES += cocos_extension_static
|
||||
LOCAL_STATIC_LIBRARIES += box2d_static
|
||||
LOCAL_STATIC_LIBRARIES += chipmunk_static
|
||||
LOCAL_STATIC_LIBRARIES += cocos_curl_static
|
||||
LOCAL_STATIC_LIBRARIES += libwebsockets_static
|
||||
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dxandroid_static
|
||||
|
||||
|
@ -239,6 +228,24 @@ LOCAL_EXPORT_CPPFLAGS := -Wno-deprecated-declarations -Wno-extern-c-compat
|
|||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
#==============================================================
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := cocos2dx_static
|
||||
|
||||
LOCAL_MODULE_FILENAME := libcocos2d
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := cocostudio_static
|
||||
LOCAL_STATIC_LIBRARIES += cocos3d_static
|
||||
LOCAL_STATIC_LIBRARIES += cocosbuilder_static
|
||||
LOCAL_STATIC_LIBRARIES += spine_static
|
||||
LOCAL_STATIC_LIBRARIES += cocos_network_static
|
||||
LOCAL_STATIC_LIBRARIES += box2d_static
|
||||
LOCAL_STATIC_LIBRARIES += chipmunk_static
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
#==============================================================
|
||||
$(call import-module,freetype2/prebuilt/android)
|
||||
$(call import-module,chipmunk)
|
||||
$(call import-module,platform/android)
|
||||
|
|
|
@ -38,7 +38,7 @@ $(LOCAL_PATH)/../../ \
|
|||
$(LOCAL_PATH)/../../platform/android \
|
||||
$(LOCAL_PATH)/../../editor-support
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := cocos2dx_static
|
||||
LOCAL_STATIC_LIBRARIES := cocos2dx_internal_static
|
||||
LOCAL_STATIC_LIBRARIES := cocos_extension_static
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
|
|
@ -76,7 +76,7 @@ LOCAL_CFLAGS += -fexceptions
|
|||
LOCAL_STATIC_LIBRARIES := cocos_ui_static
|
||||
LOCAL_STATIC_LIBRARIES += cocosdenshion_static
|
||||
LOCAL_STATIC_LIBRARIES += cocos_extension_static
|
||||
LOCAL_STATIC_LIBRARIES += cocos2dx_static
|
||||
LOCAL_STATIC_LIBRARIES += cocos2dx_internal_static
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
|
|
|
@ -37,6 +37,6 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/../.. \
|
|||
$(LOCAL_PATH)/.. \
|
||||
$(LOCAL_PATH)/../../platform/android
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := cocos2dx_static
|
||||
LOCAL_STATIC_LIBRARIES := cocos2dx_internal_static
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
|
|
@ -18,7 +18,7 @@ $(LOCAL_PATH)/../platform/android \
|
|||
$(LOCAL_PATH)/../../external/curl/include/android \
|
||||
$(LOCAL_PATH)/../../external/websockets/include/android
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := cocos2dx_static
|
||||
LOCAL_STATIC_LIBRARIES := cocos2dx_internal_static
|
||||
LOCAL_STATIC_LIBRARIES += cocos_curl_static
|
||||
LOCAL_STATIC_LIBRARIES += libwebsockets_static
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/../..
|
|||
LOCAL_CFLAGS += -Wno-psabi
|
||||
LOCAL_EXPORT_CFLAGS += -Wno-psabi
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := cocos2dx_static
|
||||
LOCAL_STATIC_LIBRARIES := cocos2dx_internal_static
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ $(LOCAL_PATH)/../.. \
|
|||
$(LOCAL_PATH)/../editor-support \
|
||||
$(LOCAL_PATH)/../platform/android
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := cocos2dx_static
|
||||
LOCAL_STATIC_LIBRARIES := cocos2dx_internal_static
|
||||
LOCAL_STATIC_LIBRARIES += cocos_extension_static
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
|
|
@ -29,7 +29,7 @@ GUI/CCScrollView/CCTableViewCell.cpp \
|
|||
physics-nodes/CCPhysicsDebugNode.cpp \
|
||||
physics-nodes/CCPhysicsSprite.cpp
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := cocos2dx_static
|
||||
LOCAL_STATIC_LIBRARIES := cocos2dx_internal_static
|
||||
LOCAL_STATIC_LIBRARIES += cocos_curl_static
|
||||
LOCAL_STATIC_LIBRARIES += box2d_static
|
||||
|
||||
|
|
Loading…
Reference in New Issue