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

Side by Side Diff: chrome/version.gni

Issue 754223003: gn format //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update for multiline output Created 6 years 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
« no previous file with comments | « chrome/utility/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 # Runs the version processing script over the given template file to produce 5 # Runs the version processing script over the given template file to produce
6 # an output file. This is used for generating various forms of files that 6 # an output file. This is used for generating various forms of files that
7 # incorporate the product name and version. 7 # incorporate the product name and version.
8 # 8 #
9 # This template automatically includes VERSION, LASTCHANGE, and BRANDING, 9 # This template automatically includes VERSION, LASTCHANGE, and BRANDING,
10 # 10 #
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 branding_path = "//chrome/app/theme/chromium/BRANDING" 44 branding_path = "//chrome/app/theme/chromium/BRANDING"
45 } 45 }
46 46
47 inputs = [ 47 inputs = [
48 version_path, 48 version_path,
49 invoker.source, 49 invoker.source,
50 lastchange_path, 50 lastchange_path,
51 branding_path, 51 branding_path,
52 ] 52 ]
53 53
54 outputs = [ invoker.output ] 54 outputs = [
55 invoker.output,
56 ]
55 57
56 args = [ 58 args = [
57 "-f", rebase_path(version_path, root_build_dir), 59 "-f",
58 "-f", rebase_path(branding_path, root_build_dir), 60 rebase_path(version_path, root_build_dir),
59 "-f", rebase_path(lastchange_path, root_build_dir), 61 "-f",
60 "-i", rebase_path(invoker.source, root_build_dir), 62 rebase_path(branding_path, root_build_dir),
61 "-o", rebase_path(invoker.output, root_build_dir), 63 "-f",
64 rebase_path(lastchange_path, root_build_dir),
65 "-i",
66 rebase_path(invoker.source, root_build_dir),
67 "-o",
68 rebase_path(invoker.output, root_build_dir),
62 ] 69 ]
63 70
64 if (defined(invoker.extra_args)) { 71 if (defined(invoker.extra_args)) {
65 args += invoker.extra_args 72 args += invoker.extra_args
66 } 73 }
67 } 74 }
68 } 75 }
OLDNEW
« no previous file with comments | « chrome/utility/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698