axmol/samples/Javascript/TestJavascript/proj.android/jni/Android.mk

31 lines
964 B
Makefile
Raw Normal View History

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
2012-07-20 17:06:00 +08:00
LOCAL_MODULE := test_javascript_shared
2012-07-20 17:06:00 +08:00
LOCAL_MODULE_FILENAME := libtestjavascript
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
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes
2012-05-28 16:58:16 +08:00
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static
2013-05-15 19:56:58 +08:00
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static
2012-08-28 02:55:03 +08:00
LOCAL_WHOLE_STATIC_LIBRARIES += spidermonkey_static
LOCAL_WHOLE_STATIC_LIBRARIES += scriptingcore-spidermonkey
2013-07-31 03:26:31 +08:00
LOCAL_WHOLE_STATIC_LIBRARIES += cocos2dxandroid_static
LOCAL_EXPORT_CFLAGS := -DCOCOS2D_DEBUG=2 -DCOCOS2D_JAVASCRIPT
include $(BUILD_SHARED_LIBRARY)
2012-05-28 16:58:16 +08:00
$(call import-module,cocos2dx)
$(call import-module,audio/android)
2013-05-15 19:56:58 +08:00
$(call import-module,extensions)
$(call import-module,scripting/javascript/spidermonkey-android)
2012-08-28 02:55:03 +08:00
$(call import-module,scripting/javascript/bindings)
2013-07-31 03:26:31 +08:00
$(call import-module,cocos2dx/platform/android)