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
3 # found in the LICENSE file.
5 static_library("browser") {
7 "data_reduction_proxy_bypass_protocol.cc",
8 "data_reduction_proxy_bypass_protocol.h",
9 "data_reduction_proxy_config.cc",
10 "data_reduction_proxy_config.h",
11 "data_reduction_proxy_configurator.cc",
12 "data_reduction_proxy_configurator.h",
13 "data_reduction_proxy_debug_ui_service.h",
14 "data_reduction_proxy_delegate.cc",
15 "data_reduction_proxy_delegate.h",
16 "data_reduction_proxy_interceptor.cc",
17 "data_reduction_proxy_interceptor.h",
18 "data_reduction_proxy_io_data.cc",
19 "data_reduction_proxy_io_data.h",
20 "data_reduction_proxy_metrics.cc",
21 "data_reduction_proxy_metrics.h",
22 "data_reduction_proxy_network_delegate.cc",
23 "data_reduction_proxy_network_delegate.h",
24 "data_reduction_proxy_prefs.cc",
25 "data_reduction_proxy_prefs.h",
26 "data_reduction_proxy_request_options.cc",
27 "data_reduction_proxy_request_options.h",
28 "data_reduction_proxy_service.cc",
29 "data_reduction_proxy_service.h",
30 "data_reduction_proxy_settings.cc",
31 "data_reduction_proxy_settings.h",
32 "data_reduction_proxy_statistics_prefs.cc",
33 "data_reduction_proxy_statistics_prefs.h",
34 "data_reduction_proxy_tamper_detection.cc",
35 "data_reduction_proxy_tamper_detection.h",
36 "data_reduction_proxy_usage_stats.cc",
37 "data_reduction_proxy_usage_stats.h",
43 "//components/data_reduction_proxy/core/common",
44 "//components/pref_registry",
49 if (!is_android && !is_ios) {
50 deps += [ "//google_apis" ]
54 source_set("test_support") {
57 "data_reduction_proxy_config_test_utils.cc",
58 "data_reduction_proxy_config_test_utils.h",
59 "data_reduction_proxy_configurator_test_utils.cc",
60 "data_reduction_proxy_configurator_test_utils.h",
61 "data_reduction_proxy_settings_test_utils.cc",
62 "data_reduction_proxy_settings_test_utils.h",
63 "data_reduction_proxy_test_utils.cc",
64 "data_reduction_proxy_test_utils.h",
72 "//base:prefs_test_support",
73 "//components/data_reduction_proxy/core/common",
74 "//components/data_reduction_proxy/core/common:test_support",
82 source_set("unit_tests") {
85 "data_reduction_proxy_bypass_protocol_unittest.cc",
86 "data_reduction_proxy_config_unittest.cc",
87 "data_reduction_proxy_configurator_unittest.cc",
88 "data_reduction_proxy_interceptor_unittest.cc",
89 "data_reduction_proxy_metrics_unittest.cc",
90 "data_reduction_proxy_network_delegate_unittest.cc",
91 "data_reduction_proxy_prefs_unittest.cc",
92 "data_reduction_proxy_request_options_unittest.cc",
93 "data_reduction_proxy_settings_unittest.cc",
94 "data_reduction_proxy_usage_stats_unittest.cc",
97 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
103 "//base:prefs_test_support",
104 "//base/test:test_support",
105 "//components/data_reduction_proxy/core/common:test_support",
106 "//net:test_support",