2015-05-18 13:41:58 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := cocos2djs_shared
|
|
|
|
|
|
|
|
LOCAL_MODULE_FILENAME := libcocos2djs
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := hellojavascript/main.cpp \
|
|
|
|
../../../Classes/AppDelegate.cpp
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../Classes
|
|
|
|
|
|
|
|
LOCAL_STATIC_LIBRARIES := cocos2d_js_static
|
|
|
|
|
|
|
|
LOCAL_EXPORT_CFLAGS := -DCOCOS2D_DEBUG=2 -DCOCOS2D_JAVASCRIPT
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|
2017-10-26 13:40:27 +08:00
|
|
|
$(call import-add-path, $(LOCAL_PATH)/../../../../cocos2d-x)
|
|
|
|
$(call import-module, cocos/scripting/js-bindings/proj.android)
|