2013-10-15 18:00:03 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2013-10-17 11:28:57 +08:00
|
|
|
LOCAL_MODULE := cocos_network_static
|
2013-10-15 18:00:03 +08:00
|
|
|
|
|
|
|
LOCAL_MODULE_FILENAME := libnetwork
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := HttpClient.cpp \
|
|
|
|
SocketIO.cpp \
|
|
|
|
WebSocket.cpp
|
|
|
|
|
|
|
|
|
2013-10-16 16:48:39 +08:00
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/..
|
2013-10-15 18:00:03 +08:00
|
|
|
|
2014-05-02 05:09:26 +08:00
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../.. \
|
2013-10-16 16:48:39 +08:00
|
|
|
$(LOCAL_PATH)/..
|
2013-10-15 18:00:03 +08:00
|
|
|
|
|
|
|
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_curl_static
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += libwebsockets_static
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
2014-05-02 05:09:26 +08:00
|
|
|
$(call import-module,.)
|
2013-10-15 18:00:03 +08:00
|
|
|
$(call import-module,curl/prebuilt/android)
|
2014-05-02 05:09:26 +08:00
|
|
|
$(call import-module,websockets/prebuilt/android)
|