2013-08-05 16:56:52 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := cocos2dxandroid_static
|
|
|
|
|
|
|
|
LOCAL_MODULE_FILENAME := libcocos2dandroid
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
CCApplication.cpp \
|
|
|
|
CCCommon.cpp \
|
2013-08-26 18:01:42 +08:00
|
|
|
CCDevice.cpp \
|
2014-01-31 08:51:43 +08:00
|
|
|
CCGLView.cpp \
|
2013-08-05 16:56:52 +08:00
|
|
|
CCFileUtilsAndroid.cpp \
|
2014-03-25 10:57:29 +08:00
|
|
|
javaactivity.cpp \
|
2013-08-26 18:01:42 +08:00
|
|
|
jni/DPIJni.cpp \
|
|
|
|
jni/IMEJni.cpp \
|
2014-03-25 10:57:29 +08:00
|
|
|
jni/Java_org_cocos2dx_lib_Cocos2dxAccelerometer.cpp \
|
2013-08-05 16:56:52 +08:00
|
|
|
jni/Java_org_cocos2dx_lib_Cocos2dxBitmap.cpp \
|
|
|
|
jni/Java_org_cocos2dx_lib_Cocos2dxHelper.cpp \
|
2014-03-25 10:57:29 +08:00
|
|
|
jni/Java_org_cocos2dx_lib_Cocos2dxRenderer.cpp \
|
|
|
|
jni/JniHelper.cpp \
|
|
|
|
jni/TouchesJni.cpp
|
2013-08-05 16:56:52 +08:00
|
|
|
|
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH) \
|
|
|
|
$(LOCAL_PATH)/../.. \
|
2014-04-09 22:30:49 +08:00
|
|
|
$(LOCAL_PATH)/../../.. \
|
2013-10-14 14:01:00 +08:00
|
|
|
$(LOCAL_PATH)/../../../base \
|
2014-03-05 08:59:39 +08:00
|
|
|
$(LOCAL_PATH)/../../../math/kazmath \
|
2013-10-14 14:01:00 +08:00
|
|
|
$(LOCAL_PATH)/../../../physics
|
2013-08-05 16:56:52 +08:00
|
|
|
|
2013-03-23 04:49:30 +08:00
|
|
|
LOCAL_LDLIBS := -lGLESv1_CM \
|
|
|
|
-lGLESv2 \
|
2013-08-05 16:56:52 +08:00
|
|
|
-lEGL \
|
|
|
|
-llog \
|
|
|
|
-lz \
|
|
|
|
-landroid
|
|
|
|
|
2013-03-23 04:49:30 +08:00
|
|
|
LOCAL_EXPORT_LDLIBS := -lGLESv1_CM \
|
|
|
|
-lGLESv2 \
|
2013-08-05 16:56:52 +08:00
|
|
|
-lEGL \
|
|
|
|
-llog \
|
|
|
|
-lz \
|
|
|
|
-landroid
|
|
|
|
|
2014-03-25 10:57:29 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := cocos_png_static cocos_jpeg_static cocos_tiff_static cocos_webp_static
|
2013-08-05 16:56:52 +08:00
|
|
|
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
2013-10-14 14:01:00 +08:00
|
|
|
$(call import-module,jpeg/prebuilt/android)
|
|
|
|
$(call import-module,png/prebuilt/android)
|
|
|
|
$(call import-module,tiff/prebuilt/android)
|
|
|
|
$(call import-module,webp/prebuilt/android)
|