| 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) { |
| 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_client_config_parser.cc", | 14 "data_reduction_proxy_client_config_parser.cc", |
| 15 "data_reduction_proxy_client_config_parser.h", | 15 "data_reduction_proxy_client_config_parser.h", |
| 16 "data_reduction_proxy_config_values.h", | 16 "data_reduction_proxy_config_values.h", |
| 17 "data_reduction_proxy_event_creator.cc", | 17 "data_reduction_proxy_event_creator.cc", |
| 18 "data_reduction_proxy_event_creator.h", | 18 "data_reduction_proxy_event_creator.h", |
| 19 "data_reduction_proxy_event_storage_delegate.h", | 19 "data_reduction_proxy_event_storage_delegate.h", |
| 20 "data_reduction_proxy_event_store.cc", | 20 "data_reduction_proxy_event_store.cc", |
| 21 "data_reduction_proxy_event_store.h", | 21 "data_reduction_proxy_event_store.h", |
| 22 "data_reduction_proxy_headers.cc", | 22 "data_reduction_proxy_headers.cc", |
| 23 "data_reduction_proxy_headers.h", | 23 "data_reduction_proxy_headers.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", |
| 31 "data_reduction_proxy_util.h", |
| 30 "lofi_decider.h", | 32 "lofi_decider.h", |
| 31 "lofi_ui_service.h", | 33 "lofi_ui_service.h", |
| 32 ] | 34 ] |
| 33 | 35 |
| 34 public_deps = [ | 36 public_deps = [ |
| 35 ":version_header", | 37 ":version_header", |
| 36 ] | 38 ] |
| 37 deps = [ | 39 deps = [ |
| 38 "//base", | 40 "//base", |
| 39 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", | 41 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 } | 104 } |
| 103 | 105 |
| 104 process_version("version_header") { | 106 process_version("version_header") { |
| 105 template_file = "version.h.in" | 107 template_file = "version.h.in" |
| 106 output = "$target_gen_dir/version.h" | 108 output = "$target_gen_dir/version.h" |
| 107 extra_args = [ | 109 extra_args = [ |
| 108 "-e", | 110 "-e", |
| 109 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", | 111 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", |
| 110 ] | 112 ] |
| 111 } | 113 } |
| OLD | NEW |