OLD | NEW |
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 # TODO(brettw) move from content to this directory. | 10 # TODO(brettw) move from content to this directory. |
10 template_file = "//content/webkit_version.h.in" | 11 template_file = "//content/webkit_version.h.in" |
11 inputs = [ lastchange_file, template_file ] | 12 inputs = [ |
| 13 lastchange_file, |
| 14 template_file, |
| 15 ] |
12 | 16 |
13 output_file = "$root_gen_dir/webkit_version.h" | 17 output_file = "$root_gen_dir/webkit_version.h" |
14 outputs = [ output_file ] | 18 outputs = [ output_file ] |
15 | 19 |
16 args = [ | 20 args = [ |
17 "-f", rebase_path(lastchange_file, root_build_dir), | 21 "-f", |
| 22 rebase_path(lastchange_file, root_build_dir), |
18 rebase_path(template_file, root_build_dir), | 23 rebase_path(template_file, root_build_dir), |
19 rebase_path(output_file, root_build_dir), | 24 rebase_path(output_file, root_build_dir), |
20 ] | 25 ] |
21 } | 26 } |
OLD | NEW |