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

Side by Side Diff: webkit/tools/test_shell/test_shell.gyp

Issue 201067: Remove test_shell_tests dependency on the test_shell binary. (Closed)
Patch Set: Revert Mac changes Created 11 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 | « no previous file | no next file » | 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) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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': 1, 7 'chromium_code': 1,
8 'test_shell_windows_resource_files': [ 8 'test_shell_windows_resource_files': [
9 'resources/test_shell.rc', 9 'resources/test_shell.rc',
10 'resources/pan_east.cur', 10 'resources/pan_east.cur',
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 ['exclude', '_win\\.cc$'], 181 ['exclude', '_win\\.cc$'],
182 ], 182 ],
183 'sources!': [ 183 'sources!': [
184 'drag_delegate.cc', 184 'drag_delegate.cc',
185 'drop_delegate.cc', 185 'drop_delegate.cc',
186 ], 186 ],
187 }], 187 }],
188 ], 188 ],
189 }, 189 },
190 { 190 {
191 'target_name': 'test_shell_pak',
192 'type': 'none',
193 'variables': {
194 'repack_path': '../../../tools/data_pack/repack.py',
195 'pak_path': '<(INTERMEDIATE_DIR)/repack/test_shell.pak',
196 },
197 'conditions': [
198 ['OS=="linux"', {
199 'actions': [
200 {
201 'action_name': 'test_shell_repack',
202 'variables': {
203 'pak_inputs': [
204 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
205 '<(SHARED_INTERMEDIATE_DIR)/test_shell/test_shell_resources.pa k',
206 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.pak',
207 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.pak',
208 ],
209 },
210 'inputs': [
211 '<(repack_path)',
212 '<@(pak_inputs)',
213 ],
214 'outputs': [
215 '<(pak_path)',
216 ],
217 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inp uts)'],
218 },
219 ],
220 'copies': [
221 {
222 'destination': '<(PRODUCT_DIR)',
223 'files': ['<(pak_path)'],
224 },
225 ],
226 }],
227 ],
228 },
229 {
191 'target_name': 'test_shell', 230 'target_name': 'test_shell',
192 'type': 'executable', 231 'type': 'executable',
193 'mac_bundle': 1, 232 'mac_bundle': 1,
194 'msvs_guid': 'FA39524D-3067-4141-888D-28A86C66F2B9', 233 'msvs_guid': 'FA39524D-3067-4141-888D-28A86C66F2B9',
195 'dependencies': [ 234 'dependencies': [
196 'test_shell_common', 235 'test_shell_common',
197 '../../../tools/imagediff/image_diff.gyp:image_diff', 236 '../../../tools/imagediff/image_diff.gyp:image_diff',
198 ], 237 ],
199 'sources': [ 238 'sources': [
200 'test_shell_main.cc', 239 'test_shell_main.cc',
(...skipping 30 matching lines...) Expand all
231 # resulting .res files get referenced multiple times. 270 # resulting .res files get referenced multiple times.
232 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', 271 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
233 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', 272 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc',
234 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc', 273 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc',
235 ], 274 ],
236 }], 275 }],
237 ['OS=="linux"', { 276 ['OS=="linux"', {
238 'dependencies': [ 277 'dependencies': [
239 '../../../build/linux/system.gyp:gtk', 278 '../../../build/linux/system.gyp:gtk',
240 'test_shell_resources', 279 'test_shell_resources',
241 ], 280 'test_shell_pak',
242 'actions': [
243 {
244 'action_name': 'test_shell_repack',
245 'inputs': [
246 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
247 '<(SHARED_INTERMEDIATE_DIR)/test_shell/test_shell_resources.pak' ,
248 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.pak',
249 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.pak',
250 ],
251 'outputs': [
252 '<(INTERMEDIATE_DIR)/repack/test_shell.pak',
253 ],
254 'action': ['python', '../../../tools/data_pack/repack.py', '<@(_ou tputs)', '<@(_inputs)'],
255 },
256 ],
257 'copies': [
258 {
259 'destination': '<(PRODUCT_DIR)',
260 'files': ['<(INTERMEDIATE_DIR)/repack/test_shell.pak'],
261 },
262 ], 281 ],
263 }], 282 }],
264 ['OS=="mac"', { 283 ['OS=="mac"', {
265 'product_name': 'TestShell', 284 'product_name': 'TestShell',
266 'dependencies': ['layout_test_helper'], 285 'dependencies': ['layout_test_helper'],
267 'variables': { 286 'variables': {
268 'repack_path': '../../../tools/data_pack/repack.py', 287 'repack_path': '../../../tools/data_pack/repack.py',
269 }, 288 },
270 'actions': [ 289 'actions': [
271 { 290 {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 ], 389 ],
371 'conditions': [ 390 'conditions': [
372 ['OS=="win"', { 391 ['OS=="win"', {
373 'resource_include_dirs': [ 392 'resource_include_dirs': [
374 '<(SHARED_INTERMEDIATE_DIR)/webkit', 393 '<(SHARED_INTERMEDIATE_DIR)/webkit',
375 ], 394 ],
376 'sources': [ '<@(test_shell_windows_resource_files)' ], 395 'sources': [ '<@(test_shell_windows_resource_files)' ],
377 }], 396 }],
378 ['OS=="linux"', { 397 ['OS=="linux"', {
379 'dependencies': [ 398 'dependencies': [
380 # Linux tests use the built test_shell beside the test 399 'test_shell_pak',
381 'test_shell',
382 '../../../build/linux/system.gyp:gtk', 400 '../../../build/linux/system.gyp:gtk',
383 ], 401 ],
384 'sources!': [ 402 'sources!': [
385 # TODO(port) 403 # TODO(port)
386 '../../../skia/ext/platform_canvas_unittest.cc', 404 '../../../skia/ext/platform_canvas_unittest.cc',
387 ], 405 ],
388 }], 406 }],
389 ['OS=="mac"', { 407 ['OS=="mac"', {
390 # mac tests load the resources from the built test_shell beside the 408 # mac tests load the resources from the built test_shell beside the
391 # test 409 # test
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 'link_settings': { 691 'link_settings': {
674 'libraries': [ 692 'libraries': [
675 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', 693 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
676 ], 694 ],
677 }, 695 },
678 }, 696 },
679 ], 697 ],
680 }], 698 }],
681 ], 699 ],
682 } 700 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698