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-08-22 11:49:34 +08:00
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
CCDeprecated-ext.cpp \
|
|
|
|
AssetsManager/AssetsManager.cpp \
|
|
|
|
CCBReader/CCBAnimationManager.cpp \
|
|
|
|
CCBReader/CCBFileLoader.cpp \
|
|
|
|
CCBReader/CCBKeyframe.cpp \
|
|
|
|
CCBReader/CCBReader.cpp \
|
|
|
|
CCBReader/CCBSequence.cpp \
|
|
|
|
CCBReader/CCBSequenceProperty.cpp \
|
|
|
|
CCBReader/CCBValue.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/CCNode+CCBRelativePositioning.cpp \
|
|
|
|
CCBReader/CCNodeLoader.cpp \
|
|
|
|
CCBReader/CCNodeLoaderLibrary.cpp \
|
|
|
|
CCBReader/CCParticleSystemQuadLoader.cpp \
|
|
|
|
CCBReader/CCScale9SpriteLoader.cpp \
|
|
|
|
CCBReader/CCScrollViewLoader.cpp \
|
2013-09-10 11:50:08 +08:00
|
|
|
CCBReader/CCSpriteLoader.cpp \
|
2013-09-19 09:14:51 +08:00
|
|
|
CocoStudio/Action/CCActionFrame.cpp \
|
|
|
|
CocoStudio/Action/CCActionFrameEasing.cpp \
|
|
|
|
CocoStudio/Action/CCActionManagerEx.cpp \
|
|
|
|
CocoStudio/Action/CCActionNode.cpp \
|
|
|
|
CocoStudio/Action/CCActionObject.cpp \
|
2013-09-09 19:51:26 +08:00
|
|
|
CocoStudio/Armature/CCArmature.cpp \
|
|
|
|
CocoStudio/Armature/CCBone.cpp \
|
|
|
|
CocoStudio/Armature/animation/CCArmatureAnimation.cpp \
|
|
|
|
CocoStudio/Armature/animation/CCProcessBase.cpp \
|
|
|
|
CocoStudio/Armature/animation/CCTween.cpp \
|
|
|
|
CocoStudio/Armature/datas/CCDatas.cpp \
|
|
|
|
CocoStudio/Armature/display/CCBatchNode.cpp \
|
|
|
|
CocoStudio/Armature/display/CCDecorativeDisplay.cpp \
|
|
|
|
CocoStudio/Armature/display/CCDisplayFactory.cpp \
|
|
|
|
CocoStudio/Armature/display/CCDisplayManager.cpp \
|
|
|
|
CocoStudio/Armature/display/CCSkin.cpp \
|
|
|
|
CocoStudio/Armature/physics/CCColliderDetector.cpp \
|
|
|
|
CocoStudio/Armature/utils/CCArmatureDataManager.cpp \
|
2013-09-17 10:49:59 +08:00
|
|
|
CocoStudio/Armature/utils/CCArmatureDefine.cpp \
|
2013-09-09 19:51:26 +08:00
|
|
|
CocoStudio/Armature/utils/CCDataReaderHelper.cpp \
|
|
|
|
CocoStudio/Armature/utils/CCSpriteFrameCacheHelper.cpp \
|
|
|
|
CocoStudio/Armature/utils/CCTransformHelp.cpp \
|
|
|
|
CocoStudio/Armature/utils/CCTweenFunction.cpp \
|
|
|
|
CocoStudio/Armature/utils/CCUtilMath.cpp \
|
2013-09-16 17:12:04 +08:00
|
|
|
CocoStudio/Components/CCComAttribute.cpp \
|
|
|
|
CocoStudio/Components/CCComAudio.cpp \
|
|
|
|
CocoStudio/Components/CCComController.cpp \
|
|
|
|
CocoStudio/Components/CCComRender.cpp \
|
|
|
|
CocoStudio/Components/CCInputDelegate.cpp \
|
2013-09-15 17:36:01 +08:00
|
|
|
CocoStudio/GUI/BaseClasses/UIRootWidget.cpp \
|
|
|
|
CocoStudio/GUI/BaseClasses/UIWidget.cpp \
|
|
|
|
CocoStudio/GUI/Layouts/Layout.cpp \
|
2013-09-16 17:12:04 +08:00
|
|
|
CocoStudio/GUI/Layouts/LayoutParameter.cpp \
|
|
|
|
CocoStudio/GUI/Layouts/UILayoutDefine.cpp \
|
|
|
|
CocoStudio/GUI/System/CocosGUI.cpp \
|
|
|
|
CocoStudio/GUI/System/UIHelper.cpp \
|
|
|
|
CocoStudio/GUI/System/UIInputManager.cpp \
|
|
|
|
CocoStudio/GUI/System/UILayer.cpp \
|
|
|
|
CocoStudio/GUI/UIWidgets/UIButton.cpp \
|
|
|
|
CocoStudio/GUI/UIWidgets/UICheckBox.cpp \
|
|
|
|
CocoStudio/GUI/UIWidgets/UIImageView.cpp \
|
|
|
|
CocoStudio/GUI/UIWidgets/UILabel.cpp \
|
|
|
|
CocoStudio/GUI/UIWidgets/UILabelAtlas.cpp \
|
|
|
|
CocoStudio/GUI/UIWidgets/UILabelBMFont.cpp \
|
|
|
|
CocoStudio/GUI/UIWidgets/UILoadingBar.cpp \
|
|
|
|
CocoStudio/GUI/UIWidgets/UISlider.cpp \
|
|
|
|
CocoStudio/GUI/UIWidgets/UITextField.cpp \
|
|
|
|
CocoStudio/GUI/UIWidgets/ScrollWidget/UIDragPanel.cpp \
|
|
|
|
CocoStudio/GUI/UIWidgets/ScrollWidget/UIListView.cpp \
|
|
|
|
CocoStudio/GUI/UIWidgets/ScrollWidget/UIPageView.cpp \
|
|
|
|
CocoStudio/GUI/UIWidgets/ScrollWidget/UIScrollView.cpp \
|
2013-09-09 19:51:26 +08:00
|
|
|
CocoStudio/Json/CSContentJsonDictionary.cpp \
|
|
|
|
CocoStudio/Json/DictionaryHelper.cpp \
|
|
|
|
CocoStudio/Json/lib_json/json_reader.cpp \
|
2013-09-12 17:31:37 +08:00
|
|
|
CocoStudio/Json/lib_json/json_value.cpp \
|
2013-09-09 19:51:26 +08:00
|
|
|
CocoStudio/Json/lib_json/json_writer.cpp \
|
2013-09-16 17:12:04 +08:00
|
|
|
CocoStudio/Reader/CCSGUIReader.cpp \
|
2013-09-09 19:51:26 +08:00
|
|
|
CocoStudio/Reader/CCSSceneReader.cpp \
|
2013-09-12 17:31:37 +08:00
|
|
|
GUI/CCControlExtension/CCControl.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlButton.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlColourPicker.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlHuePicker.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlPotentiometer.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlSaturationBrightnessPicker.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlSlider.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlStepper.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlSwitch.cpp \
|
|
|
|
GUI/CCControlExtension/CCControlUtils.cpp \
|
|
|
|
GUI/CCControlExtension/CCInvocation.cpp \
|
|
|
|
GUI/CCControlExtension/CCScale9Sprite.cpp \
|
|
|
|
GUI/CCEditBox/CCEditBox.cpp \
|
|
|
|
GUI/CCEditBox/CCEditBoxImplAndroid.cpp \
|
|
|
|
GUI/CCEditBox/CCEditBoxImplNone.cpp \
|
|
|
|
GUI/CCEditBox/CCEditBoxImplTizen.cpp \
|
|
|
|
GUI/CCEditBox/CCEditBoxImplWin.cpp \
|
|
|
|
GUI/CCScrollView/CCScrollView.cpp \
|
|
|
|
GUI/CCScrollView/CCSorting.cpp \
|
|
|
|
GUI/CCScrollView/CCTableView.cpp \
|
|
|
|
GUI/CCScrollView/CCTableViewCell.cpp \
|
|
|
|
LocalStorage/LocalStorage.cpp \
|
|
|
|
LocalStorage/LocalStorageAndroid.cpp \
|
|
|
|
network/HttpClient.cpp \
|
|
|
|
network/SocketIO.cpp \
|
|
|
|
network/WebSocket.cpp \
|
|
|
|
physics_nodes/CCPhysicsDebugNode.cpp \
|
|
|
|
physics_nodes/CCPhysicsSprite.cpp \
|
2013-08-22 11:49: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/CCSkeleton.cpp \
|
|
|
|
spine/CCSkeletonAnimation.cpp \
|
|
|
|
spine/extension.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/spine-cocos2dx.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-06-14 14:34:50 +08:00
|
|
|
LOCAL_CXXFLAGS += -fexceptions
|
|
|
|
|
2013-04-17 12:49:25 +08:00
|
|
|
LOCAL_CFLAGS += -DCC_ENABLE_CHIPMUNK_INTEGRATION=1
|
|
|
|
LOCAL_EXPORT_CFLAGS += -DCC_ENABLE_CHIPMUNK_INTEGRATION=1
|
2013-04-16 18:19:46 +08:00
|
|
|
|
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 \
|
|
|
|
$(LOCAL_PATH)/LocalStorage
|
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)
|