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 static_library(target_name) { | 10 static_library(target_name) { |
(...skipping 11 matching lines...) Expand all Loading... |
22 "data_reduction_proxy_page_load_timing.cc", | 22 "data_reduction_proxy_page_load_timing.cc", |
23 "data_reduction_proxy_page_load_timing.h", | 23 "data_reduction_proxy_page_load_timing.h", |
24 "data_reduction_proxy_params.cc", | 24 "data_reduction_proxy_params.cc", |
25 "data_reduction_proxy_params.h", | 25 "data_reduction_proxy_params.h", |
26 "data_reduction_proxy_pref_names.cc", | 26 "data_reduction_proxy_pref_names.cc", |
27 "data_reduction_proxy_pref_names.h", | 27 "data_reduction_proxy_pref_names.h", |
28 "data_reduction_proxy_switches.cc", | 28 "data_reduction_proxy_switches.cc", |
29 "data_reduction_proxy_switches.h", | 29 "data_reduction_proxy_switches.h", |
30 "data_reduction_proxy_util.cc", | 30 "data_reduction_proxy_util.cc", |
31 "data_reduction_proxy_util.h", | 31 "data_reduction_proxy_util.h", |
32 "data_saver_status.h", | |
33 "data_savings_recorder.h", | 32 "data_savings_recorder.h", |
34 "lofi_decider.h", | 33 "lofi_decider.h", |
35 "lofi_ui_service.h", | 34 "lofi_ui_service.h", |
36 ] | 35 ] |
37 | 36 |
38 public_deps = [ | 37 public_deps = [ |
39 ":version_header", | 38 ":version_header", |
40 ] | 39 ] |
41 deps = [ | 40 deps = [ |
42 "//base", | 41 "//base", |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 } | 108 } |
110 | 109 |
111 process_version("version_header") { | 110 process_version("version_header") { |
112 template_file = "version.h.in" | 111 template_file = "version.h.in" |
113 output = "$target_gen_dir/version.h" | 112 output = "$target_gen_dir/version.h" |
114 extra_args = [ | 113 extra_args = [ |
115 "-e", | 114 "-e", |
116 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", | 115 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", |
117 ] | 116 ] |
118 } | 117 } |
OLD | NEW |