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("//build/util/process_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 static_library(target_name) { | 10 static_library(target_name) { |
11 sources = [ | 11 sources = [ |
12 "data_reduction_proxy_bypass_action_list.h", | 12 "data_reduction_proxy_bypass_action_list.h", |
13 "data_reduction_proxy_bypass_type_list.h", | 13 "data_reduction_proxy_bypass_type_list.h", |
14 "data_reduction_proxy_config_values.h", | 14 "data_reduction_proxy_config_values.h", |
15 "data_reduction_proxy_event_creator.cc", | 15 "data_reduction_proxy_event_creator.cc", |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 "//components/data_reduction_proxy/core/browser", | 103 "//components/data_reduction_proxy/core/browser", |
104 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", | 104 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", |
105 "//components/variations", | 105 "//components/variations", |
106 "//net:test_support", | 106 "//net:test_support", |
107 "//testing/gtest", | 107 "//testing/gtest", |
108 ] | 108 ] |
109 } | 109 } |
110 | 110 |
111 process_version("version_header") { | 111 process_version("version_header") { |
112 template_file = "version.h.in" | 112 template_file = "version.h.in" |
| 113 sources = [ |
| 114 "//chrome/VERSION", |
| 115 ] |
113 output = "$target_gen_dir/version.h" | 116 output = "$target_gen_dir/version.h" |
114 extra_args = [ | 117 extra_args = [ |
115 "-e", | 118 "-e", |
116 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", | 119 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", |
117 ] | 120 ] |
118 } | 121 } |
OLD | NEW |