| 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. |
| 11 'content_shell_version': '19.77.34.5', | 11 'content_shell_version': '19.77.34.5', |
| 12 'conditions': [ | 12 'conditions': [ |
| 13 ['OS=="linux"', { | 13 ['OS=="linux"', { |
| 14 'use_custom_freetype%': 1, | 14 'use_custom_freetype%': 1, |
| 15 }, { | 15 }, { |
| 16 'use_custom_freetype%': 0, | 16 'use_custom_freetype%': 0, |
| 17 }], | 17 }], |
| 18 ], | 18 ], |
| 19 }, | 19 }, |
| 20 'targets': [ | 20 'targets': [ |
| 21 { | 21 { |
| 22 # GN version: //content/shell:content_shell_lib | 22 # GN version: //content/shell:content_shell_lib |
| 23 'target_name': 'content_shell_lib', | 23 'target_name': 'content_shell_lib', |
| 24 'type': 'static_library', | 24 'type': 'static_library', |
| 25 'defines': ['CONTENT_SHELL_VERSION="<(content_shell_version)"'], | 25 'defines': ['CONTENT_SHELL_VERSION="<(content_shell_version)"'], |
| 26 'variables': { | 26 'variables': { |
| 27 'chromium_code': 1, | 27 'chromium_code': 1, |
| 28 }, | 28 }, |
| 29 'dependencies': [ | 29 'dependencies': [ |
| 30 'app/resources/content_resources.gyp:content_resources', |
| 30 'app/strings/content_strings.gyp:content_strings', | 31 'app/strings/content_strings.gyp:content_strings', |
| 31 'content.gyp:content_app_both', | 32 'content.gyp:content_app_both', |
| 32 'content.gyp:content_browser', | 33 'content.gyp:content_browser', |
| 33 'content.gyp:content_common', | 34 'content.gyp:content_common', |
| 34 'content.gyp:content_gpu', | 35 'content.gyp:content_gpu', |
| 35 'content.gyp:content_plugin', | 36 'content.gyp:content_plugin', |
| 36 'content.gyp:content_ppapi_plugin', | 37 'content.gyp:content_ppapi_plugin', |
| 37 'content.gyp:content_renderer', | 38 'content.gyp:content_renderer', |
| 38 'content.gyp:content_utility', | 39 'content.gyp:content_utility', |
| 39 'content_resources.gyp:content_resources', | 40 'content_resources.gyp:content_resources', |
| (...skipping 17 matching lines...) Expand all Loading... |
| 57 '../third_party/WebKit/public/blink.gyp:blink_test_support', | 58 '../third_party/WebKit/public/blink.gyp:blink_test_support', |
| 58 '../ui/base/ui_base.gyp:ui_base', | 59 '../ui/base/ui_base.gyp:ui_base', |
| 59 '../ui/events/events.gyp:events_base', | 60 '../ui/events/events.gyp:events_base', |
| 60 '../ui/gfx/gfx.gyp:gfx', | 61 '../ui/gfx/gfx.gyp:gfx', |
| 61 '../ui/gfx/gfx.gyp:gfx_geometry', | 62 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 62 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', | 63 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', |
| 63 '../ui/gl/gl.gyp:gl', | 64 '../ui/gl/gl.gyp:gl', |
| 64 '../url/url.gyp:url_lib', | 65 '../url/url.gyp:url_lib', |
| 65 '../v8/tools/gyp/v8.gyp:v8', | 66 '../v8/tools/gyp/v8.gyp:v8', |
| 66 '../webkit/storage_browser.gyp:webkit_storage_browser', | 67 '../webkit/storage_browser.gyp:webkit_storage_browser', |
| 67 '../webkit/glue/resources/webkit_resources.gyp:webkit_resources', | |
| 68 ], | 68 ], |
| 69 'include_dirs': [ | 69 'include_dirs': [ |
| 70 '..', | 70 '..', |
| 71 ], | 71 ], |
| 72 'sources': [ | 72 'sources': [ |
| 73 # Note: sources list duplicated in GN build. | 73 # Note: sources list duplicated in GN build. |
| 74 'shell/android/shell_jni_registrar.cc', | 74 'shell/android/shell_jni_registrar.cc', |
| 75 'shell/android/shell_jni_registrar.h', | 75 'shell/android/shell_jni_registrar.h', |
| 76 'shell/android/shell_manager.cc', | 76 'shell/android/shell_manager.cc', |
| 77 'shell/android/shell_manager.h', | 77 'shell/android/shell_manager.h', |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 }], | 429 }], |
| 430 ], | 430 ], |
| 431 }, | 431 }, |
| 432 { | 432 { |
| 433 # We build a minimal set of resources so WebKit in content_shell has | 433 # We build a minimal set of resources so WebKit in content_shell has |
| 434 # access to necessary resources. | 434 # access to necessary resources. |
| 435 # GN version: //content/shell:pak | 435 # GN version: //content/shell:pak |
| 436 'target_name': 'content_shell_pak', | 436 'target_name': 'content_shell_pak', |
| 437 'type': 'none', | 437 'type': 'none', |
| 438 'dependencies': [ | 438 'dependencies': [ |
| 439 'app/resources/content_resources.gyp:content_resources', |
| 439 'app/strings/content_strings.gyp:content_strings', | 440 'app/strings/content_strings.gyp:content_strings', |
| 440 'browser/tracing/tracing_resources.gyp:tracing_resources', | 441 'browser/tracing/tracing_resources.gyp:tracing_resources', |
| 441 'content_resources.gyp:content_resources', | 442 'content_resources.gyp:content_resources', |
| 442 'content_shell_resources', | 443 'content_shell_resources', |
| 443 '<(DEPTH)/net/net.gyp:net_resources', | 444 '<(DEPTH)/net/net.gyp:net_resources', |
| 444 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources'
, | 445 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources'
, |
| 445 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', | 446 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', |
| 446 '<(DEPTH)/ui/strings/ui_strings.gyp:ui_strings', | 447 '<(DEPTH)/ui/strings/ui_strings.gyp:ui_strings', |
| 447 '<(DEPTH)/webkit/glue/resources/webkit_resources.gyp:webkit_resources', | |
| 448 ], | 448 ], |
| 449 'conditions': [ | 449 'conditions': [ |
| 450 ['OS!="android"', { | 450 ['OS!="android"', { |
| 451 'dependencies': [ | 451 'dependencies': [ |
| 452 'browser/devtools/devtools_resources.gyp:devtools_resources', | 452 'browser/devtools/devtools_resources.gyp:devtools_resources', |
| 453 ], | 453 ], |
| 454 }], | 454 }], |
| 455 ], | 455 ], |
| 456 'actions': [ | 456 'actions': [ |
| 457 { | 457 { |
| 458 'action_name': 'repack_content_shell_pack', | 458 'action_name': 'repack_content_shell_pack', |
| 459 'variables': { | 459 'variables': { |
| 460 'pak_inputs': [ | 460 'pak_inputs': [ |
| 461 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources
.pak', | 461 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources
.pak', |
| 462 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resource
s_100_percent.pak', |
| 462 '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en
-US.pak', | 463 '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en
-US.pak', |
| 463 '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resour
ces.pak', | 464 '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resour
ces.pak', |
| 464 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', | 465 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', |
| 465 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak', | 466 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak', |
| 466 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', | 467 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', |
| 467 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.
pak', | 468 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.
pak', |
| 468 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak', | 469 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak', |
| 469 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.p
ak', | 470 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.p
ak', |
| 470 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak', | 471 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak', |
| 471 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pa
k', | |
| 472 ], | 472 ], |
| 473 'conditions': [ | 473 'conditions': [ |
| 474 ['OS!="android"', { | 474 ['OS!="android"', { |
| 475 'pak_inputs': ['<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resou
rces.pak',], | 475 'pak_inputs': ['<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resou
rces.pak',], |
| 476 'pak_output': '<(PRODUCT_DIR)/content_shell.pak', | 476 'pak_output': '<(PRODUCT_DIR)/content_shell.pak', |
| 477 }, { | 477 }, { |
| 478 'pak_output': '<(PRODUCT_DIR)/content_shell/assets/content_shell
.pak', | 478 'pak_output': '<(PRODUCT_DIR)/content_shell/assets/content_shell
.pak', |
| 479 }], | 479 }], |
| 480 ], | 480 ], |
| 481 }, | 481 }, |
| (...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1099 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', | 1099 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', |
| 1100 '--destination_dir', '<(dest_dir)', | 1100 '--destination_dir', '<(dest_dir)', |
| 1101 ], | 1101 ], |
| 1102 }, | 1102 }, |
| 1103 ], | 1103 ], |
| 1104 }, | 1104 }, |
| 1105 ], | 1105 ], |
| 1106 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" | 1106 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" |
| 1107 ] | 1107 ] |
| 1108 } | 1108 } |
| OLD | NEW |