OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import("//chrome/version.gni") | 5 import("//chrome/version.gni") |
6 | 6 |
7 if (is_ios) { | 7 if (is_ios) { |
8 declare_args() { | 8 declare_args() { |
9 # Path to the file used to override the version PATH level on iOS. | 9 # Path to the file used to override the version PATH level on iOS. |
10 # Default to ios/build/util/VERSION. | 10 # Default to ios/build/util/VERSION. |
(...skipping 19 matching lines...) Expand all Loading... |
30 visibility = [ ":version_info" ] | 30 visibility = [ ":version_info" ] |
31 template_file = "version_info_values.h.version" | 31 template_file = "version_info_values.h.version" |
32 output = "$target_gen_dir/version_info_values.h" | 32 output = "$target_gen_dir/version_info_values.h" |
33 | 33 |
34 if (is_ios) { | 34 if (is_ios) { |
35 # iOS overrides PATCH level of the version with the value from the file | 35 # iOS overrides PATCH level of the version with the value from the file |
36 # named by ios_version_path, however, this needs to be the last argument | 36 # named by ios_version_path, however, this needs to be the last argument |
37 # to the version.py script, so it cannot be added to the sources variable | 37 # to the version.py script, so it cannot be added to the sources variable |
38 # and instead need to be managed manually. | 38 # and instead need to be managed manually. |
39 | 39 |
40 inputs += [ ios_extra_version_path ] | 40 inputs = [ |
| 41 ios_extra_version_path, |
| 42 ] |
41 extra_args = [ | 43 extra_args = [ |
42 "-f", | 44 "-f", |
43 rebase_path(ios_extra_version_path, root_build_dir), | 45 rebase_path(ios_extra_version_path, root_build_dir), |
44 ] | 46 ] |
45 } | 47 } |
46 } | 48 } |
OLD | NEW |