mirror of https://github.com/axmolengine/axmol.git
[Android] Updating Android.mk for JSB projects.
This commit is contained in:
parent
e893ae5697
commit
b751c41498
|
@ -12,9 +12,19 @@ LOCAL_SRC_FILES := hellocpp/main.cpp \
|
||||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes
|
||||||
|
|
||||||
LOCAL_WHOLE_STATIC_LIBRARIES := cocos_jsb_static
|
LOCAL_WHOLE_STATIC_LIBRARIES := cocos_jsb_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_chipmunk_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_extension_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_localstorage_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_network_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_builder_static
|
||||||
|
|
||||||
LOCAL_EXPORT_CFLAGS := -DCOCOS2D_DEBUG=2 -DCOCOS2D_JAVASCRIPT
|
LOCAL_EXPORT_CFLAGS := -DCOCOS2D_DEBUG=2 -DCOCOS2D_JAVASCRIPT
|
||||||
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
||||||
$(call import-module,scripting/javascript/bindings)
|
$(call import-module,scripting/javascript/bindings)
|
||||||
|
$(call import-module,scripting/javascript/bindings/chipmunk)
|
||||||
|
$(call import-module,scripting/javascript/bindings/extension)
|
||||||
|
$(call import-module,scripting/javascript/bindings/localstorage)
|
||||||
|
$(call import-module,scripting/javascript/bindings/network)
|
||||||
|
$(call import-module,scripting/javascript/bindings/cocosbuilder)
|
||||||
|
|
|
@ -12,9 +12,20 @@ LOCAL_SRC_FILES := cocosdragonjs/main.cpp \
|
||||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes
|
||||||
|
|
||||||
LOCAL_WHOLE_STATIC_LIBRARIES := cocos_jsb_static
|
LOCAL_WHOLE_STATIC_LIBRARIES := cocos_jsb_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_chipmunk_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_extension_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_localstorage_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_network_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_builder_static
|
||||||
|
|
||||||
LOCAL_EXPORT_CFLAGS := -DCOCOS2D_DEBUG=2 -DCOCOS2D_JAVASCRIPT
|
LOCAL_EXPORT_CFLAGS := -DCOCOS2D_DEBUG=2 -DCOCOS2D_JAVASCRIPT
|
||||||
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
||||||
$(call import-module,scripting/javascript/bindings)
|
$(call import-module,scripting/javascript/bindings)
|
||||||
|
$(call import-module,scripting/javascript/bindings/chipmunk)
|
||||||
|
$(call import-module,scripting/javascript/bindings/extension)
|
||||||
|
$(call import-module,scripting/javascript/bindings/localstorage)
|
||||||
|
$(call import-module,scripting/javascript/bindings/network)
|
||||||
|
$(call import-module,scripting/javascript/bindings/cocosbuilder)
|
||||||
|
|
||||||
|
|
|
@ -12,9 +12,19 @@ LOCAL_SRC_FILES := crystalcraze/main.cpp \
|
||||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes
|
||||||
|
|
||||||
LOCAL_WHOLE_STATIC_LIBRARIES := cocos_jsb_static
|
LOCAL_WHOLE_STATIC_LIBRARIES := cocos_jsb_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_chipmunk_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_extension_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_localstorage_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_network_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_builder_static
|
||||||
|
|
||||||
LOCAL_EXPORT_CFLAGS := -DCOCOS2D_DEBUG=2 -DCOCOS2D_JAVASCRIPT
|
LOCAL_EXPORT_CFLAGS := -DCOCOS2D_DEBUG=2 -DCOCOS2D_JAVASCRIPT
|
||||||
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
||||||
$(call import-module,scripting/javascript/bindings)
|
$(call import-module,scripting/javascript/bindings)
|
||||||
|
$(call import-module,scripting/javascript/bindings/chipmunk)
|
||||||
|
$(call import-module,scripting/javascript/bindings/extension)
|
||||||
|
$(call import-module,scripting/javascript/bindings/localstorage)
|
||||||
|
$(call import-module,scripting/javascript/bindings/network)
|
||||||
|
$(call import-module,scripting/javascript/bindings/cocosbuilder)
|
||||||
|
|
|
@ -12,9 +12,19 @@ LOCAL_SRC_FILES := moonwarriors/main.cpp \
|
||||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes
|
||||||
|
|
||||||
LOCAL_WHOLE_STATIC_LIBRARIES := cocos_jsb_static
|
LOCAL_WHOLE_STATIC_LIBRARIES := cocos_jsb_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_chipmunk_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_extension_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_localstorage_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_network_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_builder_static
|
||||||
|
|
||||||
LOCAL_EXPORT_CFLAGS := -DCOCOS2D_DEBUG=2 -DCOCOS2D_JAVASCRIPT
|
LOCAL_EXPORT_CFLAGS := -DCOCOS2D_DEBUG=2 -DCOCOS2D_JAVASCRIPT
|
||||||
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
||||||
$(call import-module,scripting/javascript/bindings
|
$(call import-module,scripting/javascript/bindings)
|
||||||
|
$(call import-module,scripting/javascript/bindings/chipmunk)
|
||||||
|
$(call import-module,scripting/javascript/bindings/extension)
|
||||||
|
$(call import-module,scripting/javascript/bindings/localstorage)
|
||||||
|
$(call import-module,scripting/javascript/bindings/network)
|
||||||
|
$(call import-module,scripting/javascript/bindings/cocosbuilder)
|
||||||
|
|
|
@ -12,9 +12,19 @@ LOCAL_SRC_FILES := watermelonwithme/main.cpp \
|
||||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes
|
||||||
|
|
||||||
LOCAL_WHOLE_STATIC_LIBRARIES := cocos_jsb_static
|
LOCAL_WHOLE_STATIC_LIBRARIES := cocos_jsb_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_chipmunk_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_extension_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_localstorage_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_network_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += jsb_builder_static
|
||||||
|
|
||||||
LOCAL_EXPORT_CFLAGS := -DCOCOS2D_DEBUG=2 -DCOCOS2D_JAVASCRIPT
|
LOCAL_EXPORT_CFLAGS := -DCOCOS2D_DEBUG=2 -DCOCOS2D_JAVASCRIPT
|
||||||
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
||||||
$(call import-module,scripting/javascript/bindings
|
$(call import-module,scripting/javascript/bindings)
|
||||||
|
$(call import-module,scripting/javascript/bindings/chipmunk)
|
||||||
|
$(call import-module,scripting/javascript/bindings/extension)
|
||||||
|
$(call import-module,scripting/javascript/bindings/localstorage)
|
||||||
|
$(call import-module,scripting/javascript/bindings/network)
|
||||||
|
$(call import-module,scripting/javascript/bindings/cocosbuilder)
|
||||||
|
|
Loading…
Reference in New Issue