2011-11-23 15:51:30 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
2012-02-07 14:34:30 +08:00
|
|
|
|
2011-11-23 15:51:30 +08:00
|
|
|
include $(CLEAR_VARS)
|
2012-02-07 14:34:30 +08:00
|
|
|
|
2014-03-11 17:34:08 +08:00
|
|
|
LOCAL_MODULE := cocos_cpp_tests_common
|
2012-02-07 14:34:30 +08:00
|
|
|
|
2014-03-11 17:34:08 +08:00
|
|
|
LOCAL_MODULE_FILENAME := libcpp_tests_common
|
2011-11-23 15:51:30 +08:00
|
|
|
|
2013-08-22 16:45:40 +08:00
|
|
|
LOCAL_SRC_FILES := \
|
2013-10-16 16:48:39 +08:00
|
|
|
Classes/AppDelegate.cpp \
|
|
|
|
Classes/BaseTest.cpp \
|
|
|
|
Classes/controller.cpp \
|
|
|
|
Classes/testBasic.cpp \
|
|
|
|
Classes/VisibleRect.cpp \
|
|
|
|
Classes/AccelerometerTest/AccelerometerTest.cpp \
|
|
|
|
Classes/ActionManagerTest/ActionManagerTest.cpp \
|
|
|
|
Classes/ActionsEaseTest/ActionsEaseTest.cpp \
|
|
|
|
Classes/ActionsProgressTest/ActionsProgressTest.cpp \
|
|
|
|
Classes/ActionsTest/ActionsTest.cpp \
|
|
|
|
Classes/Box2DTest/Box2dTest.cpp \
|
|
|
|
Classes/Box2DTestBed/Box2dView.cpp \
|
|
|
|
Classes/Box2DTestBed/GLES-Render.cpp \
|
|
|
|
Classes/Box2DTestBed/Test.cpp \
|
|
|
|
Classes/Box2DTestBed/TestEntries.cpp \
|
|
|
|
Classes/BugsTest/Bug-1159.cpp \
|
|
|
|
Classes/BugsTest/Bug-1174.cpp \
|
|
|
|
Classes/BugsTest/Bug-350.cpp \
|
|
|
|
Classes/BugsTest/Bug-422.cpp \
|
|
|
|
Classes/BugsTest/Bug-624.cpp \
|
|
|
|
Classes/BugsTest/Bug-886.cpp \
|
|
|
|
Classes/BugsTest/Bug-899.cpp \
|
|
|
|
Classes/BugsTest/Bug-914.cpp \
|
|
|
|
Classes/BugsTest/BugsTest.cpp \
|
|
|
|
Classes/BugsTest/Bug-458/Bug-458.cpp \
|
|
|
|
Classes/BugsTest/Bug-458/QuestionContainerSprite.cpp \
|
|
|
|
Classes/ChipmunkTest/ChipmunkTest.cpp \
|
|
|
|
Classes/ClickAndMoveTest/ClickAndMoveTest.cpp \
|
|
|
|
Classes/ClippingNodeTest/ClippingNodeTest.cpp \
|
|
|
|
Classes/CocosDenshionTest/CocosDenshionTest.cpp \
|
|
|
|
Classes/ConfigurationTest/ConfigurationTest.cpp \
|
2013-12-05 11:16:01 +08:00
|
|
|
Classes/ConsoleTest/ConsoleTest.cpp \
|
2013-10-16 16:48:39 +08:00
|
|
|
Classes/CurlTest/CurlTest.cpp \
|
|
|
|
Classes/CurrentLanguageTest/CurrentLanguageTest.cpp \
|
|
|
|
Classes/DataVisitorTest/DataVisitorTest.cpp \
|
|
|
|
Classes/DrawPrimitivesTest/DrawPrimitivesTest.cpp \
|
|
|
|
Classes/EffectsAdvancedTest/EffectsAdvancedTest.cpp \
|
|
|
|
Classes/EffectsTest/EffectsTest.cpp \
|
|
|
|
Classes/ExtensionsTest/ExtensionsTest.cpp \
|
|
|
|
Classes/ExtensionsTest/CocosBuilderTest/CocosBuilderTest.cpp \
|
|
|
|
Classes/ExtensionsTest/CocosBuilderTest/AnimationsTest/AnimationsTestLayer.cpp \
|
|
|
|
Classes/ExtensionsTest/CocosBuilderTest/ButtonTest/ButtonTestLayer.cpp \
|
|
|
|
Classes/ExtensionsTest/CocosBuilderTest/HelloCocosBuilder/HelloCocosBuilderLayer.cpp \
|
|
|
|
Classes/ExtensionsTest/CocosBuilderTest/MenuTest/MenuTestLayer.cpp \
|
|
|
|
Classes/ExtensionsTest/CocosBuilderTest/TestHeader/TestHeaderLayer.cpp \
|
|
|
|
Classes/ExtensionsTest/CocosBuilderTest/TimelineCallbackTest/TimelineCallbackTestLayer.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioArmatureTest/ArmatureScene.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioComponentsTest/ComponentsTestScene.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioComponentsTest/EnemyController.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioComponentsTest/GameOverScene.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioComponentsTest/PlayerController.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioComponentsTest/ProjectileController.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioComponentsTest/SceneController.cpp \
|
2014-03-05 21:18:51 +08:00
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/CocoStudioGUITest.cpp \
|
2013-10-16 16:48:39 +08:00
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/CocosGUIScene.cpp \
|
2014-03-05 21:18:51 +08:00
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/GUIEditorTest.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/CustomGUIScene.cpp \
|
2013-10-16 16:48:39 +08:00
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UIScene.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UISceneManager.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UIButtonTest/UIButtonTest.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UICheckBoxTest/UICheckBoxTest.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UIImageViewTest/UIImageViewTest.cpp \
|
2013-12-26 11:56:48 +08:00
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UILayoutTest/UILayoutTest.cpp \
|
2013-10-16 16:48:39 +08:00
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UIListViewTest/UIListViewTest.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UILoadingBarTest/UILoadingBarTest.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UIPageViewTest/UIPageViewTest.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UIScrollViewTest/UIScrollViewTest.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UISliderTest/UISliderTest.cpp \
|
2014-03-05 21:18:51 +08:00
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UITextTest/UITextTest.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UITextAtlasTest/UITextAtlasTest.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UITextBMFontTest/UITextBMFontTest.cpp \
|
2013-10-16 16:48:39 +08:00
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UITextFieldTest/UITextFieldTest.cpp \
|
2013-12-26 11:56:48 +08:00
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UIWidgetAddNodeTest/UIWidgetAddNodeTest.cpp \
|
2014-03-06 20:52:29 +08:00
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UIRichTextTest/UIRichTextTest.cpp \
|
2014-03-05 21:18:51 +08:00
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UIScene_Editor.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UISceneManager_Editor.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UIButtonTest/UIButtonTest_Editor.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UICheckBoxTest/UICheckBoxTest_Editor.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UIImageViewTest/UIImageViewTest_Editor.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UILayoutTest/UILayoutTest_Editor.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UIListViewTest/UIListViewTest_Editor.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UILoadingBarTest/UILoadingBarTest_Editor.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UIPageViewTest/UIPageViewTest_Editor.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UIScrollViewTest/UIScrollViewTest_Editor.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UISliderTest/UISliderTest_Editor.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UITextTest/UITextTest_Editor.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UITextAtlasTest/UITextAtlasTest_Editor.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UITextBMFontTest/UITextBMFontTest_Editor.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UITextFieldTest/UITextFieldTest_Editor.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/UIWidgetAddNodeTest/UIWidgetAddNodeTest_Editor.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/CustomWidget/CustomImageView.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/CustomWidget/CustomImageViewReader.cpp \
|
2014-03-07 16:47:51 +08:00
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/CustomWidget/CustomParticleWidget.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/CustomWidget/CustomParticleWidgetReader.cpp \
|
2014-03-05 21:18:51 +08:00
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/CustomWidget/CustomReader.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/CustomTest/CustomImageTest/CustomImageTest.cpp \
|
2014-03-07 16:47:51 +08:00
|
|
|
Classes/ExtensionsTest/CocoStudioGUITest/CustomTest/CustomParticleWidgetTest/CustomParticleWidgetTest.cpp \
|
2013-10-16 16:48:39 +08:00
|
|
|
Classes/ExtensionsTest/CocoStudioSceneTest/SceneEditorTest.cpp \
|
2013-12-26 12:55:52 +08:00
|
|
|
Classes/ExtensionsTest/CocoStudioSceneTest/TriggerCode/acts.cpp \
|
|
|
|
Classes/ExtensionsTest/CocoStudioSceneTest/TriggerCode/cons.cpp \
|
2013-10-16 16:48:39 +08:00
|
|
|
Classes/ExtensionsTest/ControlExtensionTest/CCControlScene.cpp \
|
|
|
|
Classes/ExtensionsTest/ControlExtensionTest/CCControlSceneManager.cpp \
|
|
|
|
Classes/ExtensionsTest/ControlExtensionTest/CCControlButtonTest/CCControlButtonTest.cpp \
|
|
|
|
Classes/ExtensionsTest/ControlExtensionTest/CCControlColourPicker/CCControlColourPickerTest.cpp \
|
|
|
|
Classes/ExtensionsTest/ControlExtensionTest/CCControlPotentiometerTest/CCControlPotentiometerTest.cpp \
|
|
|
|
Classes/ExtensionsTest/ControlExtensionTest/CCControlSliderTest/CCControlSliderTest.cpp \
|
|
|
|
Classes/ExtensionsTest/ControlExtensionTest/CCControlStepperTest/CCControlStepperTest.cpp \
|
|
|
|
Classes/ExtensionsTest/ControlExtensionTest/CCControlSwitchTest/CCControlSwitchTest.cpp \
|
|
|
|
Classes/ExtensionsTest/EditBoxTest/EditBoxTest.cpp \
|
|
|
|
Classes/ExtensionsTest/NetworkTest/HttpClientTest.cpp \
|
|
|
|
Classes/ExtensionsTest/NetworkTest/SocketIOTest.cpp \
|
|
|
|
Classes/ExtensionsTest/NetworkTest/WebSocketTest.cpp \
|
|
|
|
Classes/ExtensionsTest/NotificationCenterTest/NotificationCenterTest.cpp \
|
|
|
|
Classes/ExtensionsTest/Scale9SpriteTest/Scale9SpriteTest.cpp \
|
|
|
|
Classes/ExtensionsTest/TableViewTest/CustomTableViewCell.cpp \
|
|
|
|
Classes/ExtensionsTest/TableViewTest/TableViewTestScene.cpp \
|
|
|
|
Classes/FileUtilsTest/FileUtilsTest.cpp \
|
|
|
|
Classes/FontTest/FontTest.cpp \
|
2013-10-31 15:40:38 +08:00
|
|
|
Classes/InputTest/MouseTest.cpp \
|
2013-12-17 14:18:41 +08:00
|
|
|
Classes/IntervalTest/IntervalTest.cpp \
|
2013-10-16 16:48:39 +08:00
|
|
|
Classes/KeyboardTest/KeyboardTest.cpp \
|
|
|
|
Classes/KeypadTest/KeypadTest.cpp \
|
|
|
|
Classes/LabelTest/LabelTest.cpp \
|
|
|
|
Classes/LabelTest/LabelTestNew.cpp \
|
|
|
|
Classes/LayerTest/LayerTest.cpp \
|
|
|
|
Classes/MenuTest/MenuTest.cpp \
|
|
|
|
Classes/MotionStreakTest/MotionStreakTest.cpp \
|
|
|
|
Classes/MutiTouchTest/MutiTouchTest.cpp \
|
|
|
|
Classes/NewEventDispatcherTest/NewEventDispatcherTest.cpp \
|
2013-12-17 14:18:41 +08:00
|
|
|
Classes/NewRendererTest/NewRendererTest.cpp \
|
2013-10-16 16:48:39 +08:00
|
|
|
Classes/NodeTest/NodeTest.cpp \
|
|
|
|
Classes/ParallaxTest/ParallaxTest.cpp \
|
|
|
|
Classes/ParticleTest/ParticleTest.cpp \
|
|
|
|
Classes/PerformanceTest/PerformanceAllocTest.cpp \
|
|
|
|
Classes/PerformanceTest/PerformanceNodeChildrenTest.cpp \
|
|
|
|
Classes/PerformanceTest/PerformanceParticleTest.cpp \
|
|
|
|
Classes/PerformanceTest/PerformanceSpriteTest.cpp \
|
|
|
|
Classes/PerformanceTest/PerformanceTest.cpp \
|
|
|
|
Classes/PerformanceTest/PerformanceTextureTest.cpp \
|
|
|
|
Classes/PerformanceTest/PerformanceTouchesTest.cpp \
|
2013-12-13 12:42:15 +08:00
|
|
|
Classes/PerformanceTest/PerformanceLabelTest.cpp \
|
2014-01-15 11:27:57 +08:00
|
|
|
Classes/PerformanceTest/PerformanceRendererTest.cpp \
|
2014-01-17 09:44:49 +08:00
|
|
|
Classes/PerformanceTest/PerformanceContainerTest.cpp \
|
2014-01-22 13:35:52 +08:00
|
|
|
Classes/PerformanceTest/PerformanceEventDispatcherTest.cpp \
|
2014-02-10 11:42:15 +08:00
|
|
|
Classes/PerformanceTest/PerformanceScenarioTest.cpp \
|
2013-10-16 16:48:39 +08:00
|
|
|
Classes/PhysicsTest/PhysicsTest.cpp \
|
2014-01-21 17:47:59 +08:00
|
|
|
Classes/ReleasePoolTest/ReleasePoolTest.cpp \
|
2013-10-16 16:48:39 +08:00
|
|
|
Classes/RenderTextureTest/RenderTextureTest.cpp \
|
|
|
|
Classes/RotateWorldTest/RotateWorldTest.cpp \
|
|
|
|
Classes/SceneTest/SceneTest.cpp \
|
|
|
|
Classes/SchedulerTest/SchedulerTest.cpp \
|
|
|
|
Classes/ShaderTest/ShaderTest.cpp \
|
|
|
|
Classes/ShaderTest/ShaderTest2.cpp \
|
|
|
|
Classes/SpineTest/SpineTest.cpp \
|
|
|
|
Classes/SpriteTest/SpriteTest.cpp \
|
|
|
|
Classes/TextInputTest/TextInputTest.cpp \
|
|
|
|
Classes/Texture2dTest/Texture2dTest.cpp \
|
|
|
|
Classes/TextureCacheTest/TextureCacheTest.cpp \
|
|
|
|
Classes/TexturePackerEncryptionTest/TextureAtlasEncryptionTest.cpp \
|
|
|
|
Classes/TileMapTest/TileMapTest.cpp \
|
|
|
|
Classes/TouchesTest/Ball.cpp \
|
|
|
|
Classes/TouchesTest/Paddle.cpp \
|
|
|
|
Classes/TouchesTest/TouchesTest.cpp \
|
|
|
|
Classes/TransitionsTest/TransitionsTest.cpp \
|
2014-04-09 01:40:32 +08:00
|
|
|
Classes/UnitTest/RefPtrTest.cpp \
|
2014-01-03 20:21:04 +08:00
|
|
|
Classes/UnitTest/UnitTest.cpp \
|
2013-10-16 16:48:39 +08:00
|
|
|
Classes/UserDefaultTest/UserDefaultTest.cpp \
|
|
|
|
Classes/ZwoptexTest/ZwoptexTest.cpp
|
2011-11-23 15:51:30 +08:00
|
|
|
|
2013-07-11 15:09:13 +08:00
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/Classes
|
|
|
|
|
2013-10-23 17:44:20 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := cocosbuilder_static
|
2013-10-15 18:00:03 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += spine_static
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_static
|
2013-10-17 11:28:57 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_network_static
|
2013-10-23 17:44:20 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static
|
2013-10-18 14:18:36 +08:00
|
|
|
|
2012-02-07 14:34:30 +08:00
|
|
|
|
2013-10-16 16:48:39 +08:00
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/Classes
|
2011-11-23 15:51:30 +08:00
|
|
|
|
2012-02-09 15:49:14 +08:00
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
2012-02-07 14:34:30 +08:00
|
|
|
|
2012-07-20 17:06:00 +08:00
|
|
|
$(call import-module,extensions)
|
2013-10-15 18:00:03 +08:00
|
|
|
$(call import-module,editor-support/cocosbuilder)
|
|
|
|
$(call import-module,editor-support/spine)
|
|
|
|
$(call import-module,editor-support/cocostudio)
|
|
|
|
$(call import-module,network)
|
2013-10-23 17:44:20 +08:00
|
|
|
$(call import-module,2d)
|