2012-08-28 10:22:36 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := scriptingcore-spidermonkey
|
|
|
|
|
|
|
|
LOCAL_MODULE_FILENAME := libscriptingcore-spidermonkey
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := ScriptingCore.cpp \
|
2012-08-28 02:55:03 +08:00
|
|
|
cocos2d_specifics.cpp \
|
2013-03-11 16:39:28 +08:00
|
|
|
jsb_cocos2dx_extension_manual.cpp \
|
2012-08-30 06:56:19 +08:00
|
|
|
js_manual_conversions.cpp \
|
2012-09-21 08:09:40 +08:00
|
|
|
cocosjs_manual_conversions.cpp \
|
2012-08-30 06:56:19 +08:00
|
|
|
js_bindings_chipmunk_manual.cpp \
|
2012-09-19 07:54:53 +08:00
|
|
|
js_bindings_chipmunk_functions.cpp \
|
2012-11-14 07:03:35 +08:00
|
|
|
js_bindings_chipmunk_auto_classes.cpp \
|
|
|
|
js_bindings_chipmunk_registration.cpp \
|
2012-12-24 11:46:27 +08:00
|
|
|
js_bindings_system_functions.cpp \
|
|
|
|
js_bindings_system_registration.cpp \
|
2012-11-22 15:15:30 +08:00
|
|
|
js_bindings_ccbreader.cpp \
|
2012-11-14 07:03:35 +08:00
|
|
|
js_bindings_core.cpp \
|
2013-03-29 11:18:35 +08:00
|
|
|
js_bindings_opengl.cpp \
|
|
|
|
jsb_opengl_functions.cpp \
|
|
|
|
jsb_opengl_manual.cpp \
|
|
|
|
jsb_opengl_registration.cpp \
|
2013-03-11 16:39:28 +08:00
|
|
|
generated/jsb_cocos2dx_auto.cpp \
|
2013-05-16 16:11:00 +08:00
|
|
|
generated/jsb_cocos2dx_extension_auto.cpp \
|
2013-05-31 23:13:03 +08:00
|
|
|
XMLHTTPRequest.cpp \
|
|
|
|
jsb_websocket.cpp
|
2012-08-28 10:22:36 +08:00
|
|
|
|
|
|
|
LOCAL_CFLAGS := -DCOCOS2D_JAVASCRIPT
|
|
|
|
|
|
|
|
LOCAL_EXPORT_CFLAGS := -DCOCOS2D_JAVASCRIPT
|
|
|
|
|
2012-09-28 04:23:08 +08:00
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH) \
|
|
|
|
$(LOCAL_PATH)/../../../CocosDenshion/include
|
2012-08-28 10:22:36 +08:00
|
|
|
|
2012-09-19 07:54:53 +08:00
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) \
|
|
|
|
$(LOCAL_PATH)/generated
|
2012-08-28 10:22:36 +08:00
|
|
|
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := spidermonkey_static
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos2dx_static
|
2012-10-27 08:14:36 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static
|
2012-08-28 06:01:43 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += chipmunk_static
|
2012-08-28 10:22:36 +08:00
|
|
|
|
|
|
|
LOCAL_LDLIBS := -landroid
|
|
|
|
LOCAL_LDLIBS += -llog
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
2012-09-11 06:56:09 +08:00
|
|
|
$(call import-module,scripting/javascript/spidermonkey-android)
|
2012-08-28 10:22:36 +08:00
|
|
|
$(call import-module,cocos2dx)
|
2012-10-27 08:14:36 +08:00
|
|
|
$(call import-module,extensions)
|
2012-08-28 06:01:43 +08:00
|
|
|
$(call import-module,external/chipmunk)
|