2012-05-29 16:21:23 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2012-07-20 17:06:00 +08:00
|
|
|
LOCAL_MODULE := test_javascript_shared
|
2012-05-29 16:21:23 +08:00
|
|
|
|
2012-07-20 17:06:00 +08:00
|
|
|
LOCAL_MODULE_FILENAME := libtestjavascript
|
2012-05-29 16:21:23 +08:00
|
|
|
|
2012-07-20 17:06:00 +08:00
|
|
|
LOCAL_SRC_FILES := testjavascript/main.cpp \
|
2012-08-28 02:55:03 +08:00
|
|
|
../../Classes/AppDelegate.cpp
|
2012-05-29 16:21:23 +08:00
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes
|
|
|
|
|
2012-05-28 16:58:16 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static
|
2012-05-29 16:21:23 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static
|
2012-08-28 02:31:02 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += chipmunk_static
|
2012-08-28 02:55:03 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += spidermonkey_static
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += scriptingcore-spidermonkey
|
2012-05-29 16:21:23 +08:00
|
|
|
|
2012-08-29 07:02:44 +08:00
|
|
|
LOCAL_EXPORT_CFLAGS := -DCOCOS2D_DEBUG=2 -DCOCOS2D_JAVASCRIPT
|
|
|
|
|
2012-05-29 16:21:23 +08:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|
2012-05-28 16:58:16 +08:00
|
|
|
$(call import-module,cocos2dx)
|
2012-07-23 11:07:31 +08:00
|
|
|
$(call import-module,CocosDenshion/android)
|
2012-08-28 02:31:02 +08:00
|
|
|
$(call import-module,external/chipmunk)
|
2012-09-11 06:56:09 +08:00
|
|
|
$(call import-module,scripting/javascript/spidermonkey-android)
|
2012-08-28 02:55:03 +08:00
|
|
|
$(call import-module,scripting/javascript/bindings)
|