2012-08-28 10:22:36 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2013-10-17 11:28:57 +08:00
|
|
|
LOCAL_MODULE := cocos_jsb_static
|
2012-08-28 10:22:36 +08:00
|
|
|
|
2013-10-17 11:28:57 +08:00
|
|
|
LOCAL_MODULE_FILENAME := libcocos2dxjsb
|
2012-08-28 10:22:36 +08:00
|
|
|
|
|
|
|
LOCAL_SRC_FILES := ScriptingCore.cpp \
|
2012-08-28 02:55:03 +08:00
|
|
|
cocos2d_specifics.cpp \
|
2012-08-30 06:56:19 +08:00
|
|
|
js_manual_conversions.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-10-24 17:54:57 +08:00
|
|
|
../../auto-generated/js-bindings/jsb_cocos2dx_auto.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) \
|
2013-10-24 17:54:57 +08:00
|
|
|
$(LOCAL_PATH)/../../../audio/include \
|
|
|
|
$(LOCAL_PATH)/../../../storage \
|
2013-10-17 11:28:57 +08:00
|
|
|
$(LOCAL_PATH)/../../auto-generated/js-bindings \
|
2013-10-24 17:54:57 +08:00
|
|
|
$(LOCAL_PATH)/../../../../extensions
|
2012-08-28 10:22:36 +08:00
|
|
|
|
2012-09-19 07:54:53 +08:00
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) \
|
2013-10-24 17:54:57 +08:00
|
|
|
$(LOCAL_PATH)/../../auto-generated/js-bindings \
|
|
|
|
$(LOCAL_PATH)/../../../audio/include
|
2012-08-28 10:22:36 +08:00
|
|
|
|
2013-10-17 11:28:57 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += spidermonkey_static
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static
|
2012-08-28 10:22:36 +08:00
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
2013-10-17 11:28:57 +08:00
|
|
|
$(call import-module,spidermonkey/prebuilt/android)
|
|
|
|
$(call import-module,2d)
|
2013-11-18 22:32:13 +08:00
|
|
|
$(call import-module,audio/android)
|