Chromium Code Reviews| Index: chrome_elf/version_assembly_manifest_action.gypi |
| diff --git a/chrome_elf/version_assembly_manifest_action.gypi b/chrome_elf/version_assembly_manifest_action.gypi |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..43543e39eb0fc8a52a5b2347f8524b593ef7113b |
| --- /dev/null |
| +++ b/chrome_elf/version_assembly_manifest_action.gypi |
| @@ -0,0 +1,37 @@ |
| +# Copyright 2013 The Chromium Authors. All rights reserved. |
|
gab
2013/11/11 20:11:38
This isn't really chrome_elf specific (beyond the
Cait (Slow)
2013/11/12 16:33:54
From discussing with grt, I have a follow up patch
gab
2013/11/12 18:24:10
What's that plan? It feels weird to dump everythin
|
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +# This file contains an action which can be used to construct a manifest file |
| +# with the same name as the version directory so that chrome.exe identifies the |
| +# version directory as an assembly. This will be copied over to the version |
| +# directory by the installer script. |
| + |
| +# To use this the following variables need to be defined: |
| +# version_path: string: path to file containing version data (e.g. |
| +# chrome/VERSION). |
| +# version_py_path: string: path to file containing version script (e.g. |
| +# chrome/tools/build/version.py). |
| +# version_full: string: version string in WWWW.X.YYYY.Z form. |
|
gab
2013/11/11 20:11:38
Why WWWW.X.YYYY.Z? Nothing prevents X/Z to be more
Cait (Slow)
2013/11/12 16:33:54
Done.
|
| + |
| + |
| +{ |
| + 'variables': { |
| + 'template_input_path': |
| + '<(DEPTH)/chrome_elf/version_assembly_manifest.template', |
| + }, |
| + 'inputs': [ |
| + '<(template_input_path)', |
| + '<(version_path)', |
| + ], |
| + 'outputs': [ |
| + '<(PRODUCT_DIR)/<(version_full).manifest', |
| + ], |
| + 'action': [ |
| + 'python', '<(version_py_path)', |
| + '-f', '<(version_path)', |
| + '<(template_input_path)', |
| + '<@(_outputs)', |
| + ], |
| + 'message': 'Generating <@(_outputs)', |
| +} |