2012-11-22 16:11:47 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2012-11-23 15:07:19 +08:00
|
|
|
LOCAL_MODULE := cocosdragonjs_shared
|
2012-11-22 16:11:47 +08:00
|
|
|
|
2012-11-23 15:07:19 +08:00
|
|
|
LOCAL_MODULE_FILENAME := libcocosdragonjs
|
2012-11-22 16:11:47 +08:00
|
|
|
|
2012-11-23 15:07:19 +08:00
|
|
|
LOCAL_SRC_FILES := cocosdragonjs/main.cpp \
|
2012-11-22 16:11:47 +08:00
|
|
|
../../Classes/AppDelegate.cpp
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes
|
|
|
|
|
2013-10-17 15:04:30 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := cocos_jsb_static
|
2013-11-01 18:27:47 +08:00
|
|
|
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
|
2012-11-22 16:11:47 +08:00
|
|
|
|
|
|
|
LOCAL_EXPORT_CFLAGS := -DCOCOS2D_DEBUG=2 -DCOCOS2D_JAVASCRIPT
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|
|
|
|
$(call import-module,scripting/javascript/bindings)
|
2013-11-01 18:27:47 +08:00
|
|
|
$(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)
|
|
|
|
|