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

Side by Side Diff: build/util/BUILD.gn

Issue 1421143003: Move webkit_version.h.in from content to build directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « no previous file | build/util/webkit_version.h.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 action("webkit_version") { 5 action("webkit_version") {
6 script = "version.py" 6 script = "version.py"
7 7
8 lastchange_file = "LASTCHANGE.blink" 8 lastchange_file = "LASTCHANGE.blink"
9 9
10 # TODO(brettw) move from content to this directory. 10 template_file = "webkit_version.h.in"
11 template_file = "//content/webkit_version.h.in"
12 inputs = [ 11 inputs = [
13 lastchange_file, 12 lastchange_file,
14 template_file, 13 template_file,
15 ] 14 ]
16 15
17 output_file = "$root_gen_dir/webkit_version.h" 16 output_file = "$root_gen_dir/webkit_version.h"
18 outputs = [ 17 outputs = [
19 output_file, 18 output_file,
20 ] 19 ]
21 20
(...skipping 17 matching lines...) Expand all
39 ] 38 ]
40 args = [ 39 args = [
41 "--file", 40 "--file",
42 rebase_path(_chrome_version_path, root_build_dir), 41 rebase_path(_chrome_version_path, root_build_dir),
43 "--template", 42 "--template",
44 "{\"full-quoted\": \"\\\"@MAJOR@.@MINOR@.@BUILD@.@PATCH@\\\"\"}", 43 "{\"full-quoted\": \"\\\"@MAJOR@.@MINOR@.@BUILD@.@PATCH@\\\"\"}",
45 "--output", 44 "--output",
46 rebase_path(_output_file, root_build_dir), 45 rebase_path(_output_file, root_build_dir),
47 ] 46 ]
48 } 47 }
OLDNEW
« no previous file with comments | « no previous file | build/util/webkit_version.h.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698