OLD | NEW |
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 import("//chrome/version.gni") | 5 import("//chrome/version.gni") |
6 | 6 |
7 # Variables: | 7 # Variables: |
8 # deps: Extra dependencies. | 8 # deps: Extra dependencies. |
9 template("common_tmpl") { | 9 template("common_tmpl") { |
10 source_set(target_name) { | 10 source_set(target_name) { |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", | 106 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", |
107 "//components/variations", | 107 "//components/variations", |
108 "//net:test_support", | 108 "//net:test_support", |
109 "//testing/gtest", | 109 "//testing/gtest", |
110 ] | 110 ] |
111 } | 111 } |
112 | 112 |
113 process_version("version_header") { | 113 process_version("version_header") { |
114 template_file = "version.h.in" | 114 template_file = "version.h.in" |
115 output = "$target_gen_dir/version.h" | 115 output = "$target_gen_dir/version.h" |
| 116 extra_args = [ |
| 117 "-e", |
| 118 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", |
| 119 ] |
116 } | 120 } |
OLD | NEW |