mirror of https://github.com/axmolengine/axmol.git
30 lines
651 B
Plaintext
30 lines
651 B
Plaintext
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := scriptingcore-spidermonkey
|
|
|
|
LOCAL_MODULE_FILENAME := libscriptingcore-spidermonkey
|
|
|
|
LOCAL_SRC_FILES := ScriptingCore.cpp \
|
|
cocos2d_specifics.cpp
|
|
|
|
LOCAL_CFLAGS := -DCOCOS2D_JAVASCRIPT
|
|
|
|
LOCAL_EXPORT_CFLAGS := -DCOCOS2D_JAVASCRIPT
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := spidermonkey_static
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos2dx_static
|
|
|
|
LOCAL_LDLIBS := -landroid
|
|
LOCAL_LDLIBS += -llog
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
$(call import-module,spidermonkey/android)
|
|
$(call import-module,cocos2dx)
|