2013-02-18 14:38:00 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2013-02-18 21:53:28 +08:00
|
|
|
LOCAL_MODULE := cocos2djs_shared
|
2013-02-18 14:38:00 +08:00
|
|
|
|
2013-02-18 21:53:28 +08:00
|
|
|
LOCAL_MODULE_FILENAME := libcocos2djs
|
2013-02-18 14:38:00 +08:00
|
|
|
|
|
|
|
LOCAL_SRC_FILES := hellojavascript/main.cpp \
|
|
|
|
../../Classes/AppDelegate.cpp
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes
|
|
|
|
|
2013-10-17 15:04:30 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := cocos_jsb_static
|
2013-02-18 14:38:00 +08:00
|
|
|
|
|
|
|
LOCAL_EXPORT_CFLAGS := -DCOCOS2D_DEBUG=2 -DCOCOS2D_JAVASCRIPT
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|
2013-10-17 15:04:30 +08:00
|
|
|
|
2013-02-18 14:38:00 +08:00
|
|
|
$(call import-module,scripting/javascript/bindings)
|