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 \
|
2013-07-03 06:25:36 +08:00
|
|
|
nativeactivity.cpp \
|
2013-08-26 18:01:42 +08:00
|
|
|
jni/DPIJni.cpp \
|
|
|
|
jni/IMEJni.cpp \
|
2013-08-05 16:56:52 +08:00
|
|
|
jni/Java_org_cocos2dx_lib_Cocos2dxBitmap.cpp \
|
|
|
|
jni/Java_org_cocos2dx_lib_Cocos2dxHelper.cpp \
|
2013-08-26 18:01:42 +08:00
|
|
|
jni/JniHelper.cpp
|
2013-08-05 16:56:52 +08:00
|
|
|
|
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH) \
|
|
|
|
$(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
|
|
|
|
|
2013-10-18 15:39:09 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := android_native_app_glue 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)
|
2013-08-05 16:56:52 +08:00
|
|
|
$(call import-module,android/native_app_glue)
|