2014-08-27 20:58:32 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := cocos_network_static
|
|
|
|
|
|
|
|
LOCAL_MODULE_FILENAME := libnetwork
|
|
|
|
|
2014-12-31 12:03:27 +08:00
|
|
|
LOCAL_SRC_FILES := HttpClient-android.cpp \
|
2014-08-27 20:58:32 +08:00
|
|
|
SocketIO.cpp \
|
|
|
|
WebSocket.cpp
|
|
|
|
|
2014-10-17 10:13:33 +08:00
|
|
|
LOCAL_EXPORT_C_INCLUDES :=
|
2014-08-27 20:58:32 +08:00
|
|
|
|
2014-10-17 10:13:33 +08:00
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../external/curl/include/android \
|
|
|
|
$(LOCAL_PATH)/../../external/websockets/include/android
|
2014-08-27 20:58:32 +08:00
|
|
|
|
2014-08-27 22:54:28 +08:00
|
|
|
LOCAL_STATIC_LIBRARIES := cocos2dx_internal_static
|
2014-08-27 20:58:32 +08:00
|
|
|
LOCAL_STATIC_LIBRARIES += cocos_curl_static
|
|
|
|
LOCAL_STATIC_LIBRARIES += libwebsockets_static
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|