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

Unified Diff: chrome/chrome_exe.gypi

Issue 4644002: Refactor: move all the policy-template related targets into one gypi file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase for commit Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_exe.gypi
diff --git a/chrome/chrome_exe.gypi b/chrome/chrome_exe.gypi
index 424ae78d08cd1ec3d72294506a170f3a4f9574d7..6cd70110d5a668b9f876330cb96e37c76f4603c7 100644
--- a/chrome/chrome_exe.gypi
+++ b/chrome/chrome_exe.gypi
@@ -519,75 +519,5 @@
},
],
}],
- ['OS=="mac"', {
- 'targets': [
- {
- # This is the bundle of the manifest file of Chrome.
- # It contains the manifest file and its string tables.
- 'target_name': 'chrome_manifest_bundle',
- 'type': 'loadable_module',
- 'mac_bundle': 1,
- 'product_extension': 'manifest',
- 'product_name': '<(mac_bundle_id)',
- 'variables': {
- # This avoids stripping debugging symbols from the target, which
- # would fail because there is no binary code here.
- 'mac_strip': 0,
- },
- 'dependencies': [
- # Provides app-Manifest.plist and its string tables:
- 'policy_templates',
- ],
- 'actions': [
- {
- 'action_name': 'Copy MCX manifest file to manifest bundle',
- 'inputs': [
- '<(grit_out_dir)/app/policy/mac/app-Manifest.plist',
- ],
- 'outputs': [
- '<(INTERMEDIATE_DIR)/app_manifest/<(mac_bundle_id).manifest',
- ],
- 'action': [
- 'cp',
- '<@(_inputs)',
- '<@(_outputs)',
- ],
- 'message':
- 'Copying the MCX policy manifest file to the manifest bundle',
- 'process_outputs_as_mac_bundle_resources': 1,
- },
- {
- 'action_name':
- 'Copy Localizable.strings files to manifest bundle',
- 'variables': {
- 'input_path': '<(grit_out_dir)/app/policy/mac/strings',
- # Directory to collect the Localizable.strings files before
- # they are copied to the bundle.
- 'output_path': '<(INTERMEDIATE_DIR)/app_manifest',
- # TODO(gfeher): replace this with <(locales) when we have real
- # translations
- 'available_locales': 'en',
- },
- 'inputs': [
- # TODO: remove this helper when we have loops in GYP
- '>!@(<(apply_locales_cmd) -d \'<(input_path)/ZZLOCALE.lproj/Localizable.strings\' <(available_locales))',
- ],
- 'outputs': [
- # TODO: remove this helper when we have loops in GYP
- '>!@(<(apply_locales_cmd) -d \'<(output_path)/ZZLOCALE.lproj/Localizable.strings\' <(available_locales))',
- ],
- 'action': [
- 'cp', '-R',
- '<(input_path)/',
- '<(output_path)',
- ],
- 'message':
- 'Copy the Localizable.strings files to the manifest bundle',
- 'process_outputs_as_mac_bundle_resources': 1,
- },
- ],
- },
- ]
- }]
],
}
« no previous file with comments | « chrome/chrome.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698