Chromium Code Reviews| 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 static_library("common") { | 7 template("common_tmpl") { |
| 8 sources = [ | 8 static_library(target_name) { |
|
agrieve
2015/11/30 16:05:39
Can this be source_set?
| |
| 9 "data_reduction_proxy_bypass_action_list.h", | 9 sources = [ |
| 10 "data_reduction_proxy_bypass_type_list.h", | 10 "data_reduction_proxy_bypass_action_list.h", |
| 11 "data_reduction_proxy_client_config_parser.cc", | 11 "data_reduction_proxy_bypass_type_list.h", |
| 12 "data_reduction_proxy_client_config_parser.h", | 12 "data_reduction_proxy_client_config_parser.cc", |
| 13 "data_reduction_proxy_config_values.h", | 13 "data_reduction_proxy_client_config_parser.h", |
| 14 "data_reduction_proxy_event_creator.cc", | 14 "data_reduction_proxy_config_values.h", |
| 15 "data_reduction_proxy_event_creator.h", | 15 "data_reduction_proxy_event_creator.cc", |
| 16 "data_reduction_proxy_event_storage_delegate.h", | 16 "data_reduction_proxy_event_creator.h", |
| 17 "data_reduction_proxy_event_store.cc", | 17 "data_reduction_proxy_event_storage_delegate.h", |
| 18 "data_reduction_proxy_event_store.h", | 18 "data_reduction_proxy_event_store.cc", |
| 19 "data_reduction_proxy_headers.cc", | 19 "data_reduction_proxy_event_store.h", |
| 20 "data_reduction_proxy_headers.h", | 20 "data_reduction_proxy_headers.cc", |
| 21 "data_reduction_proxy_params.cc", | 21 "data_reduction_proxy_headers.h", |
| 22 "data_reduction_proxy_params.h", | 22 "data_reduction_proxy_params.cc", |
| 23 "data_reduction_proxy_pref_names.cc", | 23 "data_reduction_proxy_params.h", |
| 24 "data_reduction_proxy_pref_names.h", | 24 "data_reduction_proxy_pref_names.cc", |
| 25 "data_reduction_proxy_switches.cc", | 25 "data_reduction_proxy_pref_names.h", |
| 26 "data_reduction_proxy_switches.h", | 26 "data_reduction_proxy_switches.cc", |
| 27 ] | 27 "data_reduction_proxy_switches.h", |
| 28 ] | |
| 28 | 29 |
| 29 public_deps = [ | 30 public_deps = [ |
| 30 ":version_header", | 31 ":version_header", |
| 31 ] | 32 ] |
| 33 deps = [ | |
| 34 "//base", | |
| 35 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", | |
| 36 "//components/variations", | |
| 37 ] | |
| 38 | |
| 39 if (defined(invoker.deps)) { | |
| 40 deps += invoker.deps | |
| 41 } | |
| 42 } | |
| 43 } | |
| 44 | |
| 45 if (is_android) { | |
| 46 common_tmpl("common_small") { | |
| 47 deps = [ | |
| 48 "//url:url_lib_use_icu_alternatives_on_android", | |
| 49 ] | |
| 50 } | |
| 51 } | |
| 52 | |
| 53 common_tmpl("common") { | |
| 32 deps = [ | 54 deps = [ |
| 33 "//base", | |
| 34 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", | |
| 35 "//components/variations", | |
| 36 "//net", | 55 "//net", |
| 37 "//url", | 56 "//url", |
| 38 ] | 57 ] |
| 39 } | 58 } |
| 40 | 59 |
| 41 source_set("test_support") { | 60 source_set("test_support") { |
| 42 testonly = true | 61 testonly = true |
| 43 sources = [ | 62 sources = [ |
| 44 "data_reduction_proxy_event_storage_delegate_test_utils.cc", | 63 "data_reduction_proxy_event_storage_delegate_test_utils.cc", |
| 45 "data_reduction_proxy_event_storage_delegate_test_utils.h", | 64 "data_reduction_proxy_event_storage_delegate_test_utils.h", |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 83 "//components/variations", | 102 "//components/variations", |
| 84 "//net:test_support", | 103 "//net:test_support", |
| 85 "//testing/gtest", | 104 "//testing/gtest", |
| 86 ] | 105 ] |
| 87 } | 106 } |
| 88 | 107 |
| 89 process_version("version_header") { | 108 process_version("version_header") { |
| 90 template_file = "version.h.in" | 109 template_file = "version.h.in" |
| 91 output = "$target_gen_dir/version.h" | 110 output = "$target_gen_dir/version.h" |
| 92 } | 111 } |
| OLD | NEW |