OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'chromium_code': 0, |
| 8 'use_libcc_for_compositor%': 0, |
| 9 'cc_tests_source_files': [ |
| 10 'CCActiveAnimationTest.cpp', |
| 11 'CCDamageTrackerTest.cpp', |
| 12 'CCDelayBasedTimeSourceTest.cpp', |
| 13 'CCFrameRateControllerTest.cpp', |
| 14 'CCKeyframedAnimationCurveTest.cpp', |
| 15 'CCLayerAnimationControllerTest.cpp', |
| 16 'CCLayerImplTest.cpp', |
| 17 'CCLayerIteratorTest.cpp', |
| 18 'CCLayerQuadTest.cpp', |
| 19 'CCLayerSorterTest.cpp', |
| 20 'CCLayerTreeHostCommonTest.cpp', |
| 21 'CCLayerTreeHostImplTest.cpp', |
| 22 'CCLayerTreeHostTest.cpp', |
| 23 'CCMathUtilTest.cpp', |
| 24 'CCOcclusionTrackerTest.cpp', |
| 25 'CCPrioritizedTextureTest.cpp', |
| 26 'CCQuadCullerTest.cpp', |
| 27 'CCRenderSurfaceFiltersTest.cpp', |
| 28 'CCRenderSurfaceTest.cpp', |
| 29 'CCResourceProviderTest.cpp', |
| 30 'CCSchedulerStateMachineTest.cpp', |
| 31 'CCSchedulerTest.cpp', |
| 32 'CCSchedulerTest.cpp', |
| 33 'CCScopedTextureTest.cpp', |
| 34 'CCScrollbarAnimationControllerLinearFadeTest.cpp', |
| 35 'CCSolidColorLayerImplTest.cpp', |
| 36 'CCTextureUpdateControllerTest.cpp', |
| 37 'CCThreadTaskTest.cpp', |
| 38 'CCThreadedTest.cpp', |
| 39 'CCThreadedTest.h', |
| 40 'CCTiledLayerImplTest.cpp', |
| 41 'CCTimerTest.cpp', |
| 42 'test/CCAnimationTestCommon.cpp', |
| 43 'test/CCAnimationTestCommon.h', |
| 44 'test/CCLayerTestCommon.cpp', |
| 45 'test/CCLayerTestCommon.h', |
| 46 'test/CCLayerTreeTestCommon.h', |
| 47 'test/CCLayerTreeTestCommon.h', |
| 48 'test/CCOcclusionTrackerTestCommon.h', |
| 49 'test/CCSchedulerTestCommon.h', |
| 50 'test/CCSchedulerTestCommon.h', |
| 51 'test/CCTestCommon.h', |
| 52 'test/CCTiledLayerTestCommon.cpp', |
| 53 'test/CCTiledLayerTestCommon.h', |
| 54 'test/CompositorFakeWebGraphicsContext3D.h', |
| 55 'test/FakeCCGraphicsContext.h', |
| 56 'test/FakeCCLayerTreeHostClient.h', |
| 57 'test/FakeGraphicsContext3DTest.cpp', |
| 58 'test/FakeWebCompositorOutputSurface.h', |
| 59 'test/FakeWebGraphicsContext3D.h', |
| 60 'test/FakeWebScrollbarThemeGeometry.h', |
| 61 'test/MockCCQuadCuller.h', |
| 62 ] |
| 63 }, |
| 64 'conditions': [ |
| 65 ['use_libcc_for_compositor==1 and component!="shared_library"', { |
| 66 'targets': [ |
| 67 { |
| 68 'target_name': 'cc_unittests', |
| 69 'type': 'executable', |
| 70 'dependencies': [ |
| 71 '<(DEPTH)/base/base.gyp:test_support_base', |
| 72 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 73 '<(DEPTH)/testing/gmock.gyp:gmock', |
| 74 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_support', |
| 75 '<(DEPTH)/skia/skia.gyp:skia', |
| 76 # We have to depend on WTF directly to pick up the correct defines f
or WTF headers - for instance USE_SYSTEM_MALLOC. |
| 77 '<(DEPTH)/third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf', |
| 78 '<(DEPTH)/third_party/WebKit/Source/Platform/Platform.gyp/Platform.g
yp:webkit_platform', |
| 79 'cc.gyp:cc', |
| 80 ], |
| 81 'defines': [ |
| 82 'WTF_USE_ACCELERATED_COMPOSITING=1', |
| 83 ], |
| 84 'include_dirs': [ |
| 85 'stubs', |
| 86 'test', |
| 87 '.', |
| 88 ], |
| 89 'sources': [ |
| 90 '<@(cc_tests_source_files)', |
| 91 'test/RunAllTests.cpp', |
| 92 ], |
| 93 }, |
| 94 ], |
| 95 }, { |
| 96 'targets': [ |
| 97 { |
| 98 'target_name': 'cc_unittests', |
| 99 'type': 'none', |
| 100 } |
| 101 ] |
| 102 }], |
| 103 ], |
| 104 } |
| 105 |
OLD | NEW |