2012-07-20 17:06:00 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := cocos_extension_static
|
|
|
|
|
|
|
|
LOCAL_MODULE_FILENAME := libextension
|
|
|
|
|
2013-02-25 14:33:04 +08:00
|
|
|
LOCAL_SRC_FILES := AssetsManager/AssetsManager.cpp \
|
|
|
|
CCBReader/CCBFileLoader.cpp \
|
2012-07-20 17:06:00 +08:00
|
|
|
CCBReader/CCBReader.cpp \
|
|
|
|
CCBReader/CCControlButtonLoader.cpp \
|
|
|
|
CCBReader/CCControlLoader.cpp \
|
|
|
|
CCBReader/CCLabelBMFontLoader.cpp \
|
|
|
|
CCBReader/CCLabelTTFLoader.cpp \
|
|
|
|
CCBReader/CCLayerColorLoader.cpp \
|
|
|
|
CCBReader/CCLayerGradientLoader.cpp \
|
|
|
|
CCBReader/CCLayerLoader.cpp \
|
|
|
|
CCBReader/CCMenuItemImageLoader.cpp \
|
|
|
|
CCBReader/CCMenuItemLoader.cpp \
|
|
|
|
CCBReader/CCNodeLoader.cpp \
|
|
|
|
CCBReader/CCNodeLoaderLibrary.cpp \
|
|
|
|
CCBReader/CCParticleSystemQuadLoader.cpp \
|
|
|
|
CCBReader/CCScale9SpriteLoader.cpp \
|
|
|
|
CCBReader/CCScrollViewLoader.cpp \
|
|
|
|
CCBReader/CCSpriteLoader.cpp \
|
2012-09-19 17:43:11 +08:00
|
|
|
CCBReader/CCBAnimationManager.cpp \
|
|
|
|
CCBReader/CCBKeyframe.cpp \
|
|
|
|
CCBReader/CCBSequence.cpp \
|
|
|
|
CCBReader/CCBSequenceProperty.cpp \
|
|
|
|
CCBReader/CCBValue.cpp \
|
|
|
|
CCBReader/CCData.cpp \
|
|
|
|
CCBReader/CCNode+CCBRelativePositioning.cpp \
|
2012-07-30 22:57:59 +08:00
|
|
|
GUI/CCControlExtension/CCControl.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlButton.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlColourPicker.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlHuePicker.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlSaturationBrightnessPicker.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlSlider.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlSwitch.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlUtils.cpp \
|
|
|
|
GUI/CCControlExtension/CCInvocation.cpp \
|
|
|
|
GUI/CCControlExtension/CCScale9Sprite.cpp \
|
2012-09-25 16:57:51 +08:00
|
|
|
GUI/CCControlExtension/CCControlPotentiometer.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlStepper.cpp \
|
2012-08-09 10:45:11 +08:00
|
|
|
GUI/CCScrollView/CCScrollView.cpp \
|
2012-09-10 13:39:12 +08:00
|
|
|
GUI/CCScrollView/CCTableView.cpp \
|
|
|
|
GUI/CCScrollView/CCTableViewCell.cpp \
|
|
|
|
GUI/CCScrollView/CCSorting.cpp \
|
2012-08-22 09:47:04 +08:00
|
|
|
GUI/CCEditBox/CCEditBox.cpp \
|
|
|
|
GUI/CCEditBox/CCEditBoxImplAndroid.cpp \
|
2012-11-20 16:22:14 +08:00
|
|
|
network/HttpClient.cpp \
|
2013-05-31 23:13:03 +08:00
|
|
|
network/WebSocket.cpp \
|
2012-11-20 16:22:14 +08:00
|
|
|
physics_nodes/CCPhysicsDebugNode.cpp \
|
2013-01-07 17:22:06 +08:00
|
|
|
physics_nodes/CCPhysicsSprite.cpp \
|
2013-06-06 12:02:54 +08:00
|
|
|
LocalStorage/LocalStorageAndroid.cpp \
|
|
|
|
CCArmature/CCArmature.cpp \
|
|
|
|
CCArmature/CCBone.cpp \
|
2013-06-08 11:16:17 +08:00
|
|
|
CCArmature/animation/CCArmatureAnimation.cpp \
|
2013-06-06 12:02:54 +08:00
|
|
|
CCArmature/animation/CCProcessBase.cpp \
|
|
|
|
CCArmature/animation/CCTween.cpp \
|
|
|
|
CCArmature/datas/CCDatas.cpp \
|
|
|
|
CCArmature/display/CCBatchNode.cpp \
|
|
|
|
CCArmature/display/CCDecorativeDisplay.cpp \
|
|
|
|
CCArmature/display/CCDisplayFactory.cpp \
|
|
|
|
CCArmature/display/CCDisplayManager.cpp \
|
|
|
|
CCArmature/display/CCShaderNode.cpp \
|
|
|
|
CCArmature/display/CCSkin.cpp \
|
|
|
|
CCArmature/external_tool/GLES-Render.cpp \
|
|
|
|
CCArmature/external_tool/Json/CSContentJsonDictionary.cpp \
|
|
|
|
CCArmature/external_tool/Json/lib_json/json_value.cpp \
|
|
|
|
CCArmature/external_tool/Json/lib_json/json_reader.cpp \
|
|
|
|
CCArmature/external_tool/Json/lib_json/json_writer.cpp \
|
|
|
|
CCArmature/physics/CCColliderDetector.cpp \
|
|
|
|
CCArmature/physics/CCPhysicsWorld.cpp \
|
|
|
|
CCArmature/utils/CCArmatureDataManager.cpp \
|
|
|
|
CCArmature/utils/CCDataReaderHelper.cpp \
|
|
|
|
CCArmature/utils/CCSpriteFrameCacheHelper.cpp \
|
|
|
|
CCArmature/utils/CCTransformHelp.cpp \
|
|
|
|
CCArmature/utils/CCTweenFunction.cpp \
|
2013-06-06 16:22:58 +08:00
|
|
|
CCArmature/utils/CCUtilMath.cpp \
|
2013-04-24 13:57:34 +08:00
|
|
|
spine/Animation.cpp \
|
|
|
|
spine/AnimationState.cpp \
|
|
|
|
spine/AnimationStateData.cpp \
|
|
|
|
spine/Atlas.cpp \
|
|
|
|
spine/AtlasAttachmentLoader.cpp \
|
|
|
|
spine/Attachment.cpp \
|
|
|
|
spine/AttachmentLoader.cpp \
|
|
|
|
spine/Bone.cpp \
|
|
|
|
spine/BoneData.cpp \
|
|
|
|
spine/Json.cpp \
|
|
|
|
spine/RegionAttachment.cpp \
|
|
|
|
spine/Skeleton.cpp \
|
|
|
|
spine/SkeletonData.cpp \
|
|
|
|
spine/SkeletonJson.cpp \
|
|
|
|
spine/Skin.cpp \
|
|
|
|
spine/Slot.cpp \
|
|
|
|
spine/SlotData.cpp \
|
|
|
|
spine/extension.cpp \
|
2013-06-03 00:18:27 +08:00
|
|
|
spine/CCSkeletonAnimation.cpp \
|
2013-06-03 00:42:48 +08:00
|
|
|
spine/CCSkeleton.cpp \
|
2013-06-04 17:38:43 +08:00
|
|
|
spine/spine-cocos2dx.cpp \
|
|
|
|
Components/CCComAttribute.cpp \
|
|
|
|
Components/CCComAudio.cpp \
|
|
|
|
Components/CCComController.cpp \
|
|
|
|
Components/CCInputDelegate.cpp
|
2012-07-20 17:06:00 +08:00
|
|
|
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static
|
2013-03-19 06:42:28 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static
|
2012-08-09 10:45:11 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_curl_static
|
2012-11-20 16:27:47 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += chipmunk_static
|
2013-05-31 23:13:03 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += libwebsockets_static
|
2012-07-20 17:06:00 +08:00
|
|
|
|
2013-04-17 12:49:25 +08:00
|
|
|
LOCAL_CFLAGS += -DCC_ENABLE_CHIPMUNK_INTEGRATION=1
|
|
|
|
LOCAL_EXPORT_CFLAGS += -DCC_ENABLE_CHIPMUNK_INTEGRATION=1
|
2012-07-20 17:06:00 +08:00
|
|
|
|
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) \
|
|
|
|
$(LOCAL_PATH)/CCBReader \
|
2012-08-09 10:45:11 +08:00
|
|
|
$(LOCAL_PATH)/GUI/CCControlExtension \
|
|
|
|
$(LOCAL_PATH)/GUI/CCScrollView \
|
2013-01-07 17:22:06 +08:00
|
|
|
$(LOCAL_PATH)/network \
|
2013-06-06 12:02:54 +08:00
|
|
|
$(LOCAL_PATH)/LocalStorage \
|
|
|
|
$(LOCAL_PATH)/CCArmature
|
|
|
|
|
|
|
|
LOCAL_CFLAGS := -fexceptions
|
2012-07-20 17:06:00 +08:00
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
$(call import-module,cocos2dx)
|
2013-03-19 06:42:28 +08:00
|
|
|
$(call import-module,CocosDenshion/android)
|
2012-08-09 10:45:11 +08:00
|
|
|
$(call import-module,cocos2dx/platform/third_party/android/prebuilt/libcurl)
|
2012-11-20 16:27:47 +08:00
|
|
|
$(call import-module,external/Box2D)
|
|
|
|
$(call import-module,external/chipmunk)
|
2013-05-31 23:13:03 +08:00
|
|
|
$(call import-module,external/libwebsockets/android)
|