Chromium Code Reviews| 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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 466 'dependencies': [ | 466 'dependencies': [ |
| 467 'browser/tracing/tracing_resources.gyp:tracing_resources', | 467 'browser/tracing/tracing_resources.gyp:tracing_resources', |
| 468 ], | 468 ], |
| 469 }], | 469 }], |
| 470 ['OS!="android"', { | 470 ['OS!="android"', { |
| 471 'dependencies': [ | 471 'dependencies': [ |
| 472 'browser/devtools/devtools_resources.gyp:devtools_resources', | 472 'browser/devtools/devtools_resources.gyp:devtools_resources', |
| 473 ], | 473 ], |
| 474 }], | 474 }], |
| 475 ], | 475 ], |
| 476 'variables': { | |
| 477 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py', | |
| 478 }, | |
| 479 'actions': [ | 476 'actions': [ |
| 480 { | 477 { |
| 481 'action_name': 'repack_content_shell_pack', | 478 'action_name': 'repack_content_shell_pack', |
| 482 'variables': { | 479 'variables': { |
| 483 'pak_inputs': [ | 480 'pak_inputs': [ |
| 484 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', | 481 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', |
| 485 '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resour ces.pak', | 482 '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resour ces.pak', |
| 486 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak', | 483 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak', |
| 487 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', | 484 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', |
| 488 '<(SHARED_INTERMEDIATE_DIR)/ui/app_locale_settings/app_locale_sett ings_en-US.pak', | 485 '<(SHARED_INTERMEDIATE_DIR)/ui/app_locale_settings/app_locale_sett ings_en-US.pak', |
| 489 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_perce nt.pak', | 486 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_perce nt.pak', |
| 490 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/webui_resources.pak', | 487 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/webui_resources.pak', |
| 491 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_strings/ui_strings_en-US.pak', | 488 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_strings/ui_strings_en-US.pak', |
| 492 '<(SHARED_INTERMEDIATE_DIR)/webkit/blink_resources.pak', | 489 '<(SHARED_INTERMEDIATE_DIR)/webkit/blink_resources.pak', |
| 493 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pa k', | 490 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pa k', |
| 494 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.pak', | 491 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.pak', |
| 495 ], | 492 ], |
| 493 'conditions': [ | |
| 494 ['OS!="android"', { | |
| 495 'variables': { | |
| 496 'pak_inputs': [ | |
| 497 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak', | |
| 498 ], | |
| 499 }, | |
| 500 'pak_output': '<(PRODUCT_DIR)/content_shell.pak', | |
|
tfarina
2014/04/02 19:11:38
this isn't inside 'variables', does that make any
blundell
2014/04/03 08:43:43
The conditions block is actually within a 'variabl
| |
| 501 }, { | |
| 502 'pak_output': '<(PRODUCT_DIR)/content_shell/assets/content_shell .pak', | |
| 503 }], | |
| 504 ], | |
| 496 }, | 505 }, |
| 497 'inputs': [ | 506 'includes': [ '../build/repack_action.gypi' ], |
| 498 '<(repack_path)', | |
| 499 '<@(pak_inputs)', | |
| 500 ], | |
| 501 'action': ['python', '<(repack_path)', '<@(_outputs)', | |
| 502 '<@(pak_inputs)'], | |
| 503 'conditions': [ | |
| 504 ['OS!="android"', { | |
| 505 'variables': { | |
| 506 'pak_inputs': [ | |
| 507 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak', | |
| 508 ], | |
| 509 }, | |
| 510 'outputs': [ | |
| 511 '<(PRODUCT_DIR)/content_shell.pak', | |
| 512 ], | |
| 513 }, { | |
| 514 'outputs': [ | |
| 515 '<(PRODUCT_DIR)/content_shell/assets/content_shell.pak', | |
| 516 ], | |
| 517 }], | |
| 518 ], | |
| 519 }, | 507 }, |
| 520 ], | 508 ], |
| 521 }, | 509 }, |
| 522 { | 510 { |
| 523 'target_name': 'content_shell', | 511 'target_name': 'content_shell', |
| 524 'type': 'executable', | 512 'type': 'executable', |
| 525 'mac_bundle': 1, | 513 'mac_bundle': 1, |
| 526 'variables': { | 514 'variables': { |
| 527 'chromium_code': 1, | 515 'chromium_code': 1, |
| 528 }, | 516 }, |
| (...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1133 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', | 1121 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', |
| 1134 '--destination_dir', '<(dest_dir)', | 1122 '--destination_dir', '<(dest_dir)', |
| 1135 ], | 1123 ], |
| 1136 }, | 1124 }, |
| 1137 ], | 1125 ], |
| 1138 }, | 1126 }, |
| 1139 ], | 1127 ], |
| 1140 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" | 1128 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" |
| 1141 ] | 1129 ] |
| 1142 } | 1130 } |
| OLD | NEW |