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

Side by Side Diff: chrome/app/version_assembly/version_assembly_manifest_action.gypi

Issue 165893002: Moving version script and gypi file to build\util. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Found the goof... tools -> util... :-/ Created 6 years, 10 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 # This file contains an action which can be used to construct a manifest file 5 # This file contains an action which can be used to construct a manifest file
6 # with the same name as the version directory so that chrome.exe identifies the 6 # with the same name as the version directory so that chrome.exe identifies the
7 # version directory as an assembly. This will be copied over to the version 7 # version directory as an assembly. This will be copied over to the version
8 # directory by the installer script. 8 # directory by the installer script.
9 9
10 # To use this the following variables need to be defined: 10 # To use this the following variables need to be defined:
11 # version_path: string: path to file containing version data (e.g. 11 # version_path: string: path to file containing version data (e.g.
12 # chrome/VERSION). 12 # chrome/VERSION).
13 # version_py_path: string: path to file containing version script (e.g. 13 # version_py_path: string: path to file containing version script (e.g.
14 # chrome/tools/build/version.py). 14 # build/util/version.py).
15 # version_full: string: version string in W.X.Y.Z form. 15 # version_full: string: version string in W.X.Y.Z form.
16 16
17 17
18 { 18 {
19 'variables': { 19 'variables': {
20 'template_input_path': 20 'template_input_path':
21 '<(DEPTH)/chrome/app/version_assembly/version_assembly_manifest.template ', 21 '<(DEPTH)/chrome/app/version_assembly/version_assembly_manifest.template ',
22 }, 22 },
23 'inputs': [ 23 'inputs': [
24 '<(template_input_path)', 24 '<(template_input_path)',
25 '<(version_path)', 25 '<(version_path)',
26 ], 26 ],
27 'outputs': [ 27 'outputs': [
28 '<(PRODUCT_DIR)/<(version_full).manifest', 28 '<(PRODUCT_DIR)/<(version_full).manifest',
29 ], 29 ],
30 'action': [ 30 'action': [
31 'python', '<(version_py_path)', 31 'python', '<(version_py_path)',
32 '-f', '<(version_path)', 32 '-f', '<(version_path)',
33 '<(template_input_path)', 33 '<(template_input_path)',
34 '<@(_outputs)', 34 '<@(_outputs)',
35 ], 35 ],
36 'message': 'Generating <@(_outputs)', 36 'message': 'Generating <@(_outputs)',
37 } 37 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698