diff options
author | gfeher@chromium.org <gfeher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-08 16:18:04 +0000 |
---|---|---|
committer | gfeher@chromium.org <gfeher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-08 16:18:04 +0000 |
commit | 59c50a33c4961750f3d47cce47f67f243527390d (patch) | |
tree | 76b79617d24618d32841a0926605ef3a29dd5916 /chrome | |
parent | faedb7f408ec4a58baf55c7054efc6c04bf4c299 (diff) | |
download | chromium_src-59c50a33c4961750f3d47cce47f67f243527390d.zip chromium_src-59c50a33c4961750f3d47cce47f67f243527390d.tar.gz chromium_src-59c50a33c4961750f3d47cce47f67f243527390d.tar.bz2 |
Dump version information into policy_templates.zip
BUG=71558
TEST=A file named VERSION should show up in policy_templates.zip
Review URL: http://codereview.chromium.org/6596071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77287 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/app/policy/policy_templates.gypi | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/chrome/app/policy/policy_templates.gypi b/chrome/app/policy/policy_templates.gypi index 084334a..382bf8b 100644 --- a/chrome/app/policy/policy_templates.gypi +++ b/chrome/app/policy/policy_templates.gypi @@ -66,8 +66,17 @@ }, 'conditions': [ ['OS=="win"', { + 'variables': { + 'version_path': '<(grit_out_dir)/app/policy/VERSION', + }, 'actions': [ { + 'action_name': 'add_version', + 'inputs': ['../../VERSION'], + 'outputs': ['<(version_path)'], + 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], + }, + { # Add all the templates generated at the previous step into # a zip archive. 'action_name': 'pack_templates', @@ -76,6 +85,7 @@ 'tools/build/win/make_zip_with_relative_entries.py' }, 'inputs': [ + '<(version_path)', '<@(template_files)', '<(zip_script)' ], @@ -87,7 +97,8 @@ '<(zip_script)', '<@(_outputs)', '<(grit_out_dir)/app/policy', - '<@(template_files)' + '<@(template_files)', + '<(version_path)' ], 'message': 'Packing generated templates into <(_outputs)', } |