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 \
|
|
|
|
CCPhysicsSprite.cpp \
|
|
|
|
js_bindings_chipmunk_functions.cpp \
|
|
|
|
js_bindings_chipmunk_manual.cpp \
|
|
|
|
cocos2dx.cpp \
|
|
|
|
js_manual_conversions.cpp
|
|
|
|
|
2012-08-28 10:22:36 +08:00
|
|
|
|
|
|
|
LOCAL_CFLAGS := -DCOCOS2D_JAVASCRIPT
|
|
|
|
|
|
|
|
LOCAL_EXPORT_CFLAGS := -DCOCOS2D_JAVASCRIPT
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
|
|
|
|
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
|
|
|
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := spidermonkey_static
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos2dx_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-08-28 02:55:03 +08:00
|
|
|
$(call import-module,scripting/javascript/spidermonkey-android/android)
|
2012-08-28 10:22:36 +08:00
|
|
|
$(call import-module,cocos2dx)
|
2012-08-28 06:01:43 +08:00
|
|
|
$(call import-module,external/chipmunk)
|