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 static_library("browser") { | 5 static_library("browser") { |
6 sources = [ | 6 sources = [ |
7 "data_reduction_proxy_auth_request_handler.cc", | 7 "data_reduction_proxy_auth_request_handler.cc", |
8 "data_reduction_proxy_auth_request_handler.h", | 8 "data_reduction_proxy_auth_request_handler.h", |
9 "data_reduction_proxy_config_service.cc", | 9 "data_reduction_proxy_config_service.cc", |
10 "data_reduction_proxy_config_service.h", | 10 "data_reduction_proxy_config_service.h", |
(...skipping 13 matching lines...) Expand all Loading... |
24 "data_reduction_proxy_statistics_prefs.cc", | 24 "data_reduction_proxy_statistics_prefs.cc", |
25 "data_reduction_proxy_statistics_prefs.h", | 25 "data_reduction_proxy_statistics_prefs.h", |
26 "data_reduction_proxy_tamper_detection.cc", | 26 "data_reduction_proxy_tamper_detection.cc", |
27 "data_reduction_proxy_tamper_detection.h", | 27 "data_reduction_proxy_tamper_detection.h", |
28 "data_reduction_proxy_usage_stats.cc", | 28 "data_reduction_proxy_usage_stats.cc", |
29 "data_reduction_proxy_usage_stats.h", | 29 "data_reduction_proxy_usage_stats.h", |
30 ] | 30 ] |
31 | 31 |
32 deps = [ | 32 deps = [ |
33 "//base", | 33 "//base", |
| 34 "//base:prefs", |
34 "//components/data_reduction_proxy/core/common", | 35 "//components/data_reduction_proxy/core/common", |
35 "//components/pref_registry", | 36 "//components/pref_registry", |
36 "//crypto", | 37 "//crypto", |
37 "//net", | 38 "//net", |
| 39 "//url", |
38 ] | 40 ] |
39 if (!is_android && !is_ios) { | 41 if (!is_android && !is_ios) { |
40 deps += [ | 42 deps += [ |
41 "//google_apis", | 43 "//google_apis", |
42 ] | 44 ] |
43 } | 45 } |
44 } | 46 } |
45 | 47 |
46 static_library("test_support") { | 48 source_set("test_support") { |
47 testonly = true | 49 testonly = true |
48 sources = [ | 50 sources = [ |
49 "data_reduction_proxy_settings_test_utils.cc", | 51 "data_reduction_proxy_settings_test_utils.cc", |
50 "data_reduction_proxy_settings_test_utils.h", | 52 "data_reduction_proxy_settings_test_utils.h", |
51 ] | 53 ] |
52 | 54 |
| 55 public_deps = [ |
| 56 ":browser", |
| 57 ] |
53 deps = [ | 58 deps = [ |
54 ":browser", | |
55 "//base", | 59 "//base", |
| 60 "//base:prefs_test_support", |
56 "//components/data_reduction_proxy/core/common", | 61 "//components/data_reduction_proxy/core/common", |
57 "//components/data_reduction_proxy/core/common:test_support", | 62 "//components/data_reduction_proxy/core/common:test_support", |
58 "//net", | 63 "//net", |
59 "//net:test_support", | 64 "//net:test_support", |
60 "//testing/gmock", | 65 "//testing/gmock", |
61 "//testing/gtest", | 66 "//testing/gtest", |
62 ] | 67 ] |
63 } | 68 } |
64 | 69 |
65 source_set("unit_tests") { | 70 source_set("unit_tests") { |
66 testonly = true | 71 testonly = true |
67 sources = [ | 72 sources = [ |
68 "data_reduction_proxy_auth_request_handler_unittest.cc", | 73 "data_reduction_proxy_auth_request_handler_unittest.cc", |
69 "data_reduction_proxy_config_service_unittest.cc", | 74 "data_reduction_proxy_config_service_unittest.cc", |
70 "data_reduction_proxy_interceptor_unittest.cc", | 75 "data_reduction_proxy_interceptor_unittest.cc", |
71 "data_reduction_proxy_metrics_unittest.cc", | 76 "data_reduction_proxy_metrics_unittest.cc", |
72 "data_reduction_proxy_prefs_unittest.cc", | 77 "data_reduction_proxy_prefs_unittest.cc", |
73 "data_reduction_proxy_protocol_unittest.cc", | 78 "data_reduction_proxy_protocol_unittest.cc", |
74 "data_reduction_proxy_settings_unittest.cc", | 79 "data_reduction_proxy_settings_unittest.cc", |
75 "data_reduction_proxy_usage_stats_unittest.cc", | 80 "data_reduction_proxy_usage_stats_unittest.cc", |
76 ] | 81 ] |
77 | 82 |
78 deps = [ | 83 deps = [ |
79 ":browser", | 84 ":browser", |
80 ":test_support", | 85 ":test_support", |
| 86 "//base", |
| 87 "//base:prefs_test_support", |
| 88 "//base/test:test_support", |
| 89 "//components/data_reduction_proxy/core/common:test_support", |
| 90 "//net:test_support", |
81 "//testing/gmock", | 91 "//testing/gmock", |
82 "//testing/gtest", | 92 "//testing/gtest", |
83 ] | 93 ] |
84 } | 94 } |
OLD | NEW |