OLD | NEW |
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 'content_shell_product_name': 'Content Shell', | 7 'content_shell_product_name': 'Content Shell', |
8 # The "19" is so that sites that sniff for version think that this is | 8 # The "19" is so that sites that sniff for version think that this is |
9 # something reasonably current; the "77.34.5" is a hint that this isn't a | 9 # something reasonably current; the "77.34.5" is a hint that this isn't a |
10 # standard Chrome. | 10 # standard Chrome. |
(...skipping 29 matching lines...) Expand all Loading... |
40 'content_resources.gyp:content_resources', | 40 'content_resources.gyp:content_resources', |
41 '../base/base.gyp:base', | 41 '../base/base.gyp:base', |
42 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 42 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
43 '../components/components.gyp:breakpad_component', | 43 '../components/components.gyp:breakpad_component', |
44 '../ipc/ipc.gyp:ipc', | 44 '../ipc/ipc.gyp:ipc', |
45 '../media/media.gyp:media', | 45 '../media/media.gyp:media', |
46 '../net/net.gyp:net', | 46 '../net/net.gyp:net', |
47 '../net/net.gyp:net_resources', | 47 '../net/net.gyp:net_resources', |
48 '../skia/skia.gyp:skia', | 48 '../skia/skia.gyp:skia', |
49 '../third_party/WebKit/public/blink.gyp:blink', | 49 '../third_party/WebKit/public/blink.gyp:blink', |
50 '../third_party/WebKit/public/blink_test_runner.gyp:blink_test_runner_re
sources', | 50 '../third_party/WebKit/public/blink_test_plugin.gyp:blink_test_plugin', |
51 '../third_party/WebKit/public/blink_test_runner.gyp:blink_test_support', | 51 '../third_party/WebKit/public/blink_test_runner.gyp:blink_test_support', |
52 '../ui/events/events.gyp:events_base', | 52 '../ui/events/events.gyp:events_base', |
53 '../ui/gfx/gfx.gyp:gfx', | 53 '../ui/gfx/gfx.gyp:gfx', |
54 '../ui/gfx/gfx.gyp:gfx_geometry', | 54 '../ui/gfx/gfx.gyp:gfx_geometry', |
55 '../ui/gl/gl.gyp:gl', | 55 '../ui/gl/gl.gyp:gl', |
56 '../ui/ui.gyp:ui', | 56 '../ui/ui.gyp:ui', |
57 '../url/url.gyp:url_lib', | 57 '../url/url.gyp:url_lib', |
58 '../v8/tools/gyp/v8.gyp:v8', | 58 '../v8/tools/gyp/v8.gyp:v8', |
59 '../webkit/common/user_agent/webkit_user_agent.gyp:user_agent', | 59 '../webkit/common/user_agent/webkit_user_agent.gyp:user_agent', |
60 '../webkit/common/webkit_common.gyp:webkit_common', | 60 '../webkit/common/webkit_common.gyp:webkit_common', |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 }, { # OS!="win" | 279 }, { # OS!="win" |
280 'sources/': [ | 280 'sources/': [ |
281 ['exclude', 'Win\\.cpp$'], | 281 ['exclude', 'Win\\.cpp$'], |
282 ], | 282 ], |
283 }], # OS=="win" | 283 }], # OS=="win" |
284 ['OS=="linux"', { | 284 ['OS=="linux"', { |
285 'dependencies': [ | 285 'dependencies': [ |
286 '../build/linux/system.gyp:fontconfig', | 286 '../build/linux/system.gyp:fontconfig', |
287 ], | 287 ], |
288 }], | 288 }], |
| 289 ['use_x11 == 1', { |
| 290 'dependencies': [ |
| 291 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| 292 ], |
| 293 }], |
289 ['OS=="android"', { | 294 ['OS=="android"', { |
290 'dependencies': [ | 295 'dependencies': [ |
291 'content_shell_jni_headers', | 296 'content_shell_jni_headers', |
292 ], | 297 ], |
| 298 'dependencies!': [ |
| 299 '../third_party/WebKit/public/blink_test_plugin.gyp:blink_test_plugi
n', |
| 300 ], |
293 }, { # else: OS!="android" | 301 }, { # else: OS!="android" |
294 'dependencies': [ | 302 'dependencies': [ |
295 # This dependency is for running DRT against the content shell, and | 303 # This dependency is for running DRT against the content shell, and |
296 # this combination is not yet supported on Android. | 304 # this combination is not yet supported on Android. |
297 'test_support_content', | 305 'test_support_content', |
298 ], | 306 ], |
299 }], # OS=="android" | 307 }], # OS=="android" |
300 ['os_posix == 1 and OS != "mac" and android_webview_build != 1', { | 308 ['os_posix == 1 and OS != "mac" and android_webview_build != 1', { |
301 'dependencies': [ | 309 'dependencies': [ |
302 '../components/components.gyp:breakpad_host', | 310 '../components/components.gyp:breakpad_host', |
(...skipping 30 matching lines...) Expand all Loading... |
333 ['exclude', 'shell/browser/shell_views.cc'], | 341 ['exclude', 'shell/browser/shell_views.cc'], |
334 ], | 342 ], |
335 }], | 343 }], |
336 ], | 344 ], |
337 }, { | 345 }, { |
338 'sources/': [ | 346 'sources/': [ |
339 ['exclude', 'shell/browser/shell_aura.cc'], | 347 ['exclude', 'shell/browser/shell_aura.cc'], |
340 ['exclude', 'shell/browser/shell_views.cc'], | 348 ['exclude', 'shell/browser/shell_views.cc'], |
341 ], | 349 ], |
342 }], # use_aura==1 | 350 }], # use_aura==1 |
| 351 # The test plugin relies on X11. |
| 352 ['OS=="linux" and use_x11==0', { |
| 353 'dependencies!': [ |
| 354 '../third_party/WebKit/public/blink_test_plugin.gyp:blink_test_plugi
n', |
| 355 ], |
| 356 }], |
343 ['chromeos==1', { | 357 ['chromeos==1', { |
344 'dependencies': [ | 358 'dependencies': [ |
345 '../chromeos/chromeos.gyp:chromeos', | 359 '../chromeos/chromeos.gyp:chromeos', |
346 '../ui/wm/wm.gyp:wm_test_support', | 360 '../ui/wm/wm.gyp:wm_test_support', |
347 ], | 361 ], |
348 }], # chromeos==1 | 362 }], # chromeos==1 |
349 ['use_custom_freetype==1', { | 363 ['use_custom_freetype==1', { |
350 'dependencies': [ | 364 'dependencies': [ |
351 '../third_party/freetype2/freetype2.gyp:freetype2', | 365 '../third_party/freetype2/freetype2.gyp:freetype2', |
352 ], | 366 ], |
(...skipping 17 matching lines...) Expand all Loading... |
370 }, | 384 }, |
371 'includes': [ '../build/grit_target.gypi' ], | 385 'includes': [ '../build/grit_target.gypi' ], |
372 'copies': [ | 386 'copies': [ |
373 { | 387 { |
374 'destination': '<(PRODUCT_DIR)', | 388 'destination': '<(PRODUCT_DIR)', |
375 'files': [ | 389 'files': [ |
376 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak' | 390 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak' |
377 ], | 391 ], |
378 }, | 392 }, |
379 ], | 393 ], |
| 394 'conditions': [ |
| 395 ['OS=="win"', { |
| 396 'copies': [{ |
| 397 'destination': '<(PRODUCT_DIR)', |
| 398 'files': ['shell/renderer/test_runner/resources/fonts/AHEM____.TTF']
, |
| 399 }], |
| 400 }], |
| 401 ['OS=="mac"', { |
| 402 'all_dependent_settings': { |
| 403 'mac_bundle_resources': [ |
| 404 'shell/renderer/test_runner/resources/fonts/AHEM____.TTF', |
| 405 '<(SHARED_INTERMEDIATE_DIR)/webkit/missingImage.png', |
| 406 '<(SHARED_INTERMEDIATE_DIR)/webkit/textAreaResizeCorner.png', |
| 407 ], |
| 408 }, |
| 409 }], |
| 410 ['use_x11 == 1', { |
| 411 'copies': [{ |
| 412 'destination': '<(PRODUCT_DIR)', |
| 413 'files': [ |
| 414 'shell/renderer/test_runner/resources/fonts/AHEM____.TTF', |
| 415 'shell/renderer/test_runner/resources/fonts/fonts.conf', |
| 416 ] |
| 417 }], |
| 418 }], |
| 419 ['OS=="android"', { |
| 420 'copies': [{ |
| 421 'destination': '<(PRODUCT_DIR)', |
| 422 'files': [ |
| 423 'shell/renderer/test_runner/resources/fonts/AHEM____.TTF', |
| 424 'shell/renderer/test_runner/resources/fonts/android_main_fonts.xml
', |
| 425 'shell/renderer/test_runner/resources/fonts/android_fallback_fonts
.xml', |
| 426 ] |
| 427 }], |
| 428 }], |
| 429 ], |
380 }, | 430 }, |
381 { | 431 { |
382 'target_name': 'generate_content_shell_resources', | 432 'target_name': 'generate_content_shell_resources', |
383 'type': 'none', | 433 'type': 'none', |
384 'variables': { | 434 'variables': { |
385 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content', | 435 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content', |
386 }, | 436 }, |
387 'actions': [ | 437 'actions': [ |
388 { | 438 { |
389 'action_name': 'content_shell_resources', | 439 'action_name': 'content_shell_resources', |
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
961 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', | 1011 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', |
962 '--destination_dir', '<(dest_dir)', | 1012 '--destination_dir', '<(dest_dir)', |
963 ], | 1013 ], |
964 }, | 1014 }, |
965 ], | 1015 ], |
966 }, | 1016 }, |
967 ], | 1017 ], |
968 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" | 1018 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" |
969 ] | 1019 ] |
970 } | 1020 } |
OLD | NEW |