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

Side by Side Diff: cc/cc_tests.gyp

Issue 11412289: Basic pixel tests for cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix AtExitManager registration stuff Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « cc/DEPS ('k') | cc/gl_renderer_pixeltest.cc » ('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 'cc_unit_tests_source_files': [ 8 'cc_unit_tests_source_files': [
9 'active_animation_unittest.cc', 9 'active_animation_unittest.cc',
10 'content_layer_unittest.cc', 10 'content_layer_unittest.cc',
11 'contents_scaling_layer_unittest.cc', 11 'contents_scaling_layer_unittest.cc',
12 'damage_tracker_unittest.cc', 12 'damage_tracker_unittest.cc',
13 'delay_based_time_source_unittest.cc', 13 'delay_based_time_source_unittest.cc',
14 'delegated_renderer_layer_impl_unittest.cc', 14 'delegated_renderer_layer_impl_unittest.cc',
15 'draw_quad_unittest.cc', 15 'draw_quad_unittest.cc',
16 'float_quad_unittest.cc', 16 'float_quad_unittest.cc',
17 'frame_rate_controller_unittest.cc', 17 'frame_rate_controller_unittest.cc',
18 'gl_renderer_unittest.cc', 18 'gl_renderer_unittest.cc',
19 'gl_renderer_pixeltest.cc',
19 'hash_pair_unittest.cc', 20 'hash_pair_unittest.cc',
20 'heads_up_display_unittest.cc', 21 'heads_up_display_unittest.cc',
21 'keyframed_animation_curve_unittest.cc', 22 'keyframed_animation_curve_unittest.cc',
22 'layer_animation_controller_unittest.cc', 23 'layer_animation_controller_unittest.cc',
23 'layer_impl_unittest.cc', 24 'layer_impl_unittest.cc',
24 'layer_iterator_unittest.cc', 25 'layer_iterator_unittest.cc',
25 'layer_quad_unittest.cc', 26 'layer_quad_unittest.cc',
26 'layer_sorter_unittest.cc', 27 'layer_sorter_unittest.cc',
27 'layer_tree_host_common_unittest.cc', 28 'layer_tree_host_common_unittest.cc',
28 'layer_tree_host_impl_unittest.cc', 29 'layer_tree_host_impl_unittest.cc',
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 'test/fake_web_scrollbar_theme_geometry.h', 80 'test/fake_web_scrollbar_theme_geometry.h',
80 'test/geometry_test_utils.cc', 81 'test/geometry_test_utils.cc',
81 'test/geometry_test_utils.h', 82 'test/geometry_test_utils.h',
82 'test/layer_test_common.cc', 83 'test/layer_test_common.cc',
83 'test/layer_test_common.h', 84 'test/layer_test_common.h',
84 'test/layer_tree_test_common.cc', 85 'test/layer_tree_test_common.cc',
85 'test/layer_tree_test_common.h', 86 'test/layer_tree_test_common.h',
86 'test/mock_quad_culler.cc', 87 'test/mock_quad_culler.cc',
87 'test/mock_quad_culler.h', 88 'test/mock_quad_culler.h',
88 'test/occlusion_tracker_test_common.h', 89 'test/occlusion_tracker_test_common.h',
90 'test/paths.cc',
91 'test/paths.h',
92 'test/pixel_test_output_surface.cc',
93 'test/pixel_test_output_surface.h',
89 'test/render_pass_test_common.cc', 94 'test/render_pass_test_common.cc',
90 'test/render_pass_test_common.h', 95 'test/render_pass_test_common.h',
91 'test/scheduler_test_common.cc', 96 'test/scheduler_test_common.cc',
92 'test/scheduler_test_common.h', 97 'test/scheduler_test_common.h',
93 'test/tiled_layer_test_common.cc', 98 'test/tiled_layer_test_common.cc',
94 'test/tiled_layer_test_common.h', 99 'test/tiled_layer_test_common.h',
95 ], 100 ],
96 }, 101 },
97 'targets': [ 102 'targets': [
98 { 103 {
99 'target_name': 'cc_unittests', 104 'target_name': 'cc_unittests',
100 'type': '<(gtest_target_type)', 105 'type': '<(gtest_target_type)',
101 'dependencies': [ 106 'dependencies': [
102 '../base/base.gyp:test_support_base', 107 '../base/base.gyp:test_support_base',
103 '../media/media.gyp:media', 108 '../media/media.gyp:media',
104 '../skia/skia.gyp:skia', 109 '../skia/skia.gyp:skia',
105 '../testing/gmock.gyp:gmock', 110 '../testing/gmock.gyp:gmock',
106 '../testing/gtest.gyp:gtest', 111 '../testing/gtest.gyp:gtest',
107 '../ui/ui.gyp:ui', 112 '../ui/ui.gyp:ui',
113 '../webkit/support/webkit_support.gyp:webkit_gpu',
108 'cc.gyp:cc', 114 'cc.gyp:cc',
109 'cc_test_support', 115 'cc_test_support',
116 'cc_test_utils',
110 ], 117 ],
111 'sources': [ 118 'sources': [
112 'test/run_all_unittests.cc', 119 'test/run_all_unittests.cc',
120 'test/cc_test_suite.cc',
113 '<@(cc_unit_tests_source_files)', 121 '<@(cc_unit_tests_source_files)',
114 ], 122 ],
115 'include_dirs': [ 123 'include_dirs': [
116 'test', 124 'test',
117 '.', 125 '.',
118 '../third_party/WebKit/Source/Platform/chromium', 126 '../third_party/WebKit/Source/Platform/chromium',
119 ], 127 ],
120 'conditions': [ 128 'conditions': [
121 ['OS == "android" and gtest_target_type == "shared_library"', { 129 ['OS == "android" and gtest_target_type == "shared_library"', {
122 'dependencies': [ 130 'dependencies': [
(...skipping 11 matching lines...) Expand all
134 '../skia/skia.gyp:skia', 142 '../skia/skia.gyp:skia',
135 '../testing/gmock.gyp:gmock', 143 '../testing/gmock.gyp:gmock',
136 '../testing/gtest.gyp:gtest', 144 '../testing/gtest.gyp:gtest',
137 '../ui/ui.gyp:ui', 145 '../ui/ui.gyp:ui',
138 'cc.gyp:cc', 146 'cc.gyp:cc',
139 'cc_test_support', 147 'cc_test_support',
140 ], 148 ],
141 'sources': [ 149 'sources': [
142 'layer_tree_host_perftest.cc', 150 'layer_tree_host_perftest.cc',
143 'test/run_all_unittests.cc', 151 'test/run_all_unittests.cc',
152 'test/cc_test_suite.cc',
144 ], 153 ],
145 'include_dirs': [ 154 'include_dirs': [
146 'test', 155 'test',
147 '.', 156 '.',
148 '../third_party/WebKit/Source/Platform/chromium', 157 '../third_party/WebKit/Source/Platform/chromium',
149 ], 158 ],
150 'conditions': [ 159 'conditions': [
151 ['OS == "android" and gtest_target_type == "shared_library"', { 160 ['OS == "android" and gtest_target_type == "shared_library"', {
152 'dependencies': [ 161 'dependencies': [
153 '../testing/android/native_test.gyp:native_test_native_code', 162 '../testing/android/native_test.gyp:native_test_native_code',
154 ], 163 ],
155 }], 164 }],
156 ], 165 ],
157 }, 166 },
158 { 167 {
159 'target_name': 'cc_test_support', 168 'target_name': 'cc_test_support',
160 'type': 'static_library', 169 'type': 'static_library',
161 'include_dirs': [ 170 'include_dirs': [
162 'test', 171 'test',
163 '.', 172 '.',
164 '..', 173 '..',
165 '../third_party/WebKit/Source/Platform/chromium', 174 '../third_party/WebKit/Source/Platform/chromium',
166 ], 175 ],
167 'dependencies': [ 176 'dependencies': [
177 '../skia/skia.gyp:skia',
178 '../testing/gmock.gyp:gmock',
179 '../testing/gtest.gyp:gtest',
180 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit',
181 '../third_party/mesa/mesa.gyp:osmesa',
168 '../ui/gl/gl.gyp:gl', 182 '../ui/gl/gl.gyp:gl',
169 '../testing/gtest.gyp:gtest',
170 '../testing/gmock.gyp:gmock',
171 '../skia/skia.gyp:skia',
172 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit',
173 ], 183 ],
174 'sources': [ 184 'sources': [
175 '<@(cc_tests_support_files)', 185 '<@(cc_tests_support_files)',
176 ], 186 ],
177 }, 187 },
188 {
189 'target_name': 'cc_test_utils',
190 'type': 'static_library',
191 'include_dirs': [
192 '..'
193 ],
194 'sources': [
195 'test/pixel_test_utils.cc',
196 'test/pixel_test_utils.h',
197 ],
198 'dependencies': [
199 '../skia/skia.gyp:skia',
200 '../ui/ui.gyp:ui', # for png_codec
201 ],
202 },
178 ], 203 ],
179 'conditions': [ 204 'conditions': [
180 # Special target to wrap a gtest_target_type==shared_library 205 # Special target to wrap a gtest_target_type==shared_library
181 # cc_unittests into an android apk for execution. 206 # cc_unittests into an android apk for execution.
182 ['OS == "android" and gtest_target_type == "shared_library"', { 207 ['OS == "android" and gtest_target_type == "shared_library"', {
183 'targets': [ 208 'targets': [
184 { 209 {
185 'target_name': 'cc_unittests_apk', 210 'target_name': 'cc_unittests_apk',
186 'type': 'none', 211 'type': 'none',
187 'dependencies': [ 212 'dependencies': [
188 'cc_unittests', 213 'cc_unittests',
189 ], 214 ],
190 'variables': { 215 'variables': {
191 'test_suite_name': 'cc_unittests', 216 'test_suite_name': 'cc_unittests',
192 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)cc_unitte sts<(SHARED_LIB_SUFFIX)', 217 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)cc_unitte sts<(SHARED_LIB_SUFFIX)',
193 }, 218 },
194 'includes': [ '../build/apk_test.gypi' ], 219 'includes': [ '../build/apk_test.gypi' ],
195 }, 220 },
196 ],
197 }],
198 ['OS == "android" and gtest_target_type == "shared_library"', {
199 'targets': [
200 { 221 {
201 'target_name': 'cc_perftests_apk', 222 'target_name': 'cc_perftests_apk',
202 'type': 'none', 223 'type': 'none',
203 'dependencies': [ 224 'dependencies': [
204 'cc_perftests', 225 'cc_perftests',
205 ], 226 ],
206 'variables': { 227 'variables': {
207 'test_suite_name': 'cc_perftests', 228 'test_suite_name': 'cc_perftests',
208 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)cc_perfte sts<(SHARED_LIB_SUFFIX)', 229 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)cc_perfte sts<(SHARED_LIB_SUFFIX)',
209 }, 230 },
210 'includes': [ '../build/apk_test.gypi' ], 231 'includes': [ '../build/apk_test.gypi' ],
211 }, 232 },
212 ], 233 ],
213 }] 234 }]
214 ], 235 ],
215 } 236 }
OLDNEW
« no previous file with comments | « cc/DEPS ('k') | cc/gl_renderer_pixeltest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698