Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: cc/cc_tests.gyp

Issue 10909020: Enable webkit_compositor_unittests (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/CCThreadProxy.cpp ('k') | cc/copyfiles.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 0, 7 'chromium_code': 0,
8 'use_libcc_for_compositor%': 0, 8 'use_libcc_for_compositor%': 0,
9 'cc_tests_source_files': [ 9 'cc_tests_source_files': [
10 'CCActiveAnimationTest.cpp', 10 'CCActiveAnimationTest.cpp',
(...skipping 22 matching lines...) Expand all
33 'CCSchedulerTest.cpp', 33 'CCSchedulerTest.cpp',
34 'CCScopedTextureTest.cpp', 34 'CCScopedTextureTest.cpp',
35 'CCScrollbarAnimationControllerLinearFadeTest.cpp', 35 'CCScrollbarAnimationControllerLinearFadeTest.cpp',
36 'CCSolidColorLayerImplTest.cpp', 36 'CCSolidColorLayerImplTest.cpp',
37 'CCTextureUpdateControllerTest.cpp', 37 'CCTextureUpdateControllerTest.cpp',
38 'CCThreadTaskTest.cpp', 38 'CCThreadTaskTest.cpp',
39 'CCThreadedTest.cpp', 39 'CCThreadedTest.cpp',
40 'CCThreadedTest.h', 40 'CCThreadedTest.h',
41 'CCTiledLayerImplTest.cpp', 41 'CCTiledLayerImplTest.cpp',
42 'CCTimerTest.cpp', 42 'CCTimerTest.cpp',
43 ],
44 'cc_tests_support_files': [
43 'test/CCAnimationTestCommon.cpp', 45 'test/CCAnimationTestCommon.cpp',
44 'test/CCAnimationTestCommon.h', 46 'test/CCAnimationTestCommon.h',
45 'test/CCLayerTestCommon.cpp', 47 'test/CCLayerTestCommon.cpp',
46 'test/CCLayerTestCommon.h', 48 'test/CCLayerTestCommon.h',
47 'test/CCLayerTreeTestCommon.h', 49 'test/CCLayerTreeTestCommon.h',
48 'test/CCLayerTreeTestCommon.h', 50 'test/CCLayerTreeTestCommon.h',
49 'test/CCOcclusionTrackerTestCommon.h', 51 'test/CCOcclusionTrackerTestCommon.h',
50 'test/CCSchedulerTestCommon.h', 52 'test/CCSchedulerTestCommon.h',
51 'test/CCSchedulerTestCommon.h', 53 'test/CCSchedulerTestCommon.h',
52 'test/CCTestCommon.h', 54 'test/CCTestCommon.h',
53 'test/CCTiledLayerTestCommon.cpp', 55 'test/CCTiledLayerTestCommon.cpp',
54 'test/CCTiledLayerTestCommon.h', 56 'test/CCTiledLayerTestCommon.h',
55 'test/CompositorFakeWebGraphicsContext3D.h', 57 'test/CompositorFakeWebGraphicsContext3D.h',
56 'test/FakeCCGraphicsContext.h', 58 'test/FakeCCGraphicsContext.h',
57 'test/FakeCCLayerTreeHostClient.h', 59 'test/FakeCCLayerTreeHostClient.h',
58 'test/FakeGraphicsContext3DTest.cpp', 60 'test/FakeGraphicsContext3DTest.cpp',
59 'test/FakeWebCompositorOutputSurface.h', 61 'test/FakeWebCompositorOutputSurface.h',
60 'test/FakeWebGraphicsContext3D.h', 62 'test/FakeWebGraphicsContext3D.h',
61 'test/FakeWebScrollbarThemeGeometry.h', 63 'test/FakeWebScrollbarThemeGeometry.h',
62 'test/MockCCQuadCuller.h', 64 'test/MockCCQuadCuller.h',
63 ] 65 ],
64 }, 66 },
65 'conditions': [ 67 'conditions': [
66 ['use_libcc_for_compositor==1 and component!="shared_library"', { 68 ['use_libcc_for_compositor==1 and component!="shared_library"', {
67 'targets': [ 69 'targets': [
68 { 70 {
69 'target_name': 'cc_unittests', 71 'target_name': 'cc_unittests',
70 'type': 'executable', 72 'type': 'executable',
71 'dependencies': [ 73 'dependencies': [
72 '<(DEPTH)/base/base.gyp:test_support_base', 74 '../base/base.gyp:test_support_base',
73 '<(DEPTH)/testing/gtest.gyp:gtest', 75 '../testing/gtest.gyp:gtest',
74 '<(DEPTH)/testing/gmock.gyp:gmock', 76 '../testing/gmock.gyp:gmock',
75 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_support', 77 '../webkit/support/webkit_support.gyp:webkit_support',
76 '<(DEPTH)/skia/skia.gyp:skia', 78 '../skia/skia.gyp:skia',
77 # We have to depend on WTF directly to pick up the correct defines f or WTF headers - for instance USE_SYSTEM_MALLOC. 79 # We have to depend on WTF directly to pick up the correct defines f or WTF headers - for instance USE_SYSTEM_MALLOC.
78 '<(DEPTH)/third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf', 80 '../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf',
79 '<(DEPTH)/third_party/WebKit/Source/Platform/Platform.gyp/Platform.g yp:webkit_platform', 81 '../third_party/WebKit/Source/Platform/Platform.gyp/Platform.gyp:web kit_platform',
80 'cc.gyp:cc', 82 'cc.gyp:cc',
83 'cc_test_support',
81 ], 84 ],
82 'defines': [ 85 'defines': [
83 'WTF_USE_ACCELERATED_COMPOSITING=1', 86 'WTF_USE_ACCELERATED_COMPOSITING=1',
84 ], 87 ],
85 'include_dirs': [ 88 'include_dirs': [
86 'stubs', 89 'stubs',
87 'test', 90 'test',
88 '.', 91 '.',
89 ], 92 ],
90 'sources': [ 93 'sources': [
91 '<@(cc_tests_source_files)', 94 '<@(cc_tests_source_files)',
92 'test/run_all_unittests.cc', 95 'test/run_all_unittests.cc',
93 ], 96 ],
94 }, 97 },
98 {
99 'target_name': 'cc_test_support',
100 'type': 'static_library',
101 'defines': [
102 'WTF_USE_ACCELERATED_COMPOSITING=1',
103 ],
104 'include_dirs': [
105 'stubs',
106 'test',
107 '.',
108 '..',
109 ],
110 'dependencies': [
111 '../ui/gl/gl.gyp:gl',
112 '../testing/gtest.gyp:gtest',
113 '../testing/gmock.gyp:gmock',
114 '../skia/skia.gyp:skia',
115 '../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf',
116 '../third_party/WebKit/Source/Platform/Platform.gyp/Platform.gyp:web kit_platform',
117 ],
118 'sources': [
119 '<@(cc_tests_support_files)',
120 ],
121 },
95 ], 122 ],
96 }, { 123 }, {
97 'targets': [ 124 'targets': [
98 { 125 {
99 'target_name': 'cc_unittests', 126 'target_name': 'cc_unittests',
100 'type': 'none', 127 'type': 'none',
101 } 128 }
102 ] 129 ]
103 }], 130 }],
104 ], 131 ],
105 } 132 }
106 133
OLDNEW
« no previous file with comments | « cc/CCThreadProxy.cpp ('k') | cc/copyfiles.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698