diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-16 18:46:52 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-16 18:46:52 +0000 |
commit | 47d209421f46bfe6910ac8f87a28f684c3768987 (patch) | |
tree | 663ea1787d11294ac0d141dad93a70fdbc5d0008 /chrome/chrome_exe.gypi | |
parent | 9f043377e0fa22c46a45054bfcead621afe27af5 (diff) | |
download | chromium_src-47d209421f46bfe6910ac8f87a28f684c3768987.zip chromium_src-47d209421f46bfe6910ac8f87a28f684c3768987.tar.gz chromium_src-47d209421f46bfe6910ac8f87a28f684c3768987.tar.bz2 |
Stuff the MCX policy file into the app bundle where it belongs.
BUG=http://crbug.com/45334
TEST=build chromium, open the package, look in the resources folder, see either "org.chromium.Chromium.manifest" or "com.google.Chrome.manifest" (depending on the build). Open the file, see either "Chromium" or "Google Chrome" at the top (again, depending on the build).
Review URL: http://codereview.chromium.org/2809057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52710 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_exe.gypi')
-rw-r--r-- | chrome/chrome_exe.gypi | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/chrome/chrome_exe.gypi b/chrome/chrome_exe.gypi index 16547a4..116e9d5 100644 --- a/chrome/chrome_exe.gypi +++ b/chrome/chrome_exe.gypi @@ -284,7 +284,7 @@ 'actions': [ { # Generate the InfoPlist.strings file - 'action_name': 'Generating InfoPlist.strings files', + 'action_name': 'Generate InfoPlist.strings files', 'variables': { 'tool_path': '<(PRODUCT_DIR)/infoplist_strings_tool', # Unique dir to write to so the [lang].lproj/InfoPlist.strings @@ -324,6 +324,31 @@ 'message': 'Generating the language InfoPlist.strings files', 'process_outputs_as_mac_bundle_resources': 1, }, + { + # Massage the manifest and add it as a resource + 'action_name': 'Generate MCX manifest file', + 'variables': { + 'tool_path': 'tools/build/mac/copy_mcx_manifest.sh', + 'input_path': 'app/policy/mac/app-Manifest.plist', + 'output_path': '<(INTERMEDIATE_DIR)/<(mac_bundle_id).manifest', + }, + 'inputs': [ + '<(tool_path)', + '<(input_path)', + ], + 'outputs': [ + '<(output_path)', + ], + 'action': [ + '<(tool_path)', + '<(mac_product_name)', + '<(mac_bundle_id)', + '<(input_path)', + '<(output_path)', + ], + 'message': 'Generating the MCX policy manifest file', + 'process_outputs_as_mac_bundle_resources': 1, + }, ], 'copies': [ { |