| 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 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", |
| 16 "data_reduction_proxy_event_creator.h", | 16 "data_reduction_proxy_event_creator.h", |
| 17 "data_reduction_proxy_event_storage_delegate.h", | 17 "data_reduction_proxy_event_storage_delegate.h", |
| 18 "data_reduction_proxy_event_store.cc", | 18 "data_reduction_proxy_event_store.cc", |
| 19 "data_reduction_proxy_event_store.h", | 19 "data_reduction_proxy_event_store.h", |
| 20 "data_reduction_proxy_headers.cc", | 20 "data_reduction_proxy_headers.cc", |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 } | 107 } |
| 108 | 108 |
| 109 process_version("version_header") { | 109 process_version("version_header") { |
| 110 template_file = "version.h.in" | 110 template_file = "version.h.in" |
| 111 output = "$target_gen_dir/version.h" | 111 output = "$target_gen_dir/version.h" |
| 112 extra_args = [ | 112 extra_args = [ |
| 113 "-e", | 113 "-e", |
| 114 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", | 114 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", |
| 115 ] | 115 ] |
| 116 } | 116 } |
| OLD | NEW |