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_auth_request_handler.cc",
8 "data_reduction_proxy_auth_request_handler.h",
9 "data_reduction_proxy_bypass_protocol.cc",
10 "data_reduction_proxy_bypass_protocol.h",
11 "data_reduction_proxy_config.cc",
12 "data_reduction_proxy_config.h",
13 "data_reduction_proxy_configurator.cc",
14 "data_reduction_proxy_configurator.h",
15 "data_reduction_proxy_delegate.cc",
16 "data_reduction_proxy_delegate.h",
17 "data_reduction_proxy_interceptor.cc",
18 "data_reduction_proxy_interceptor.h",
19 "data_reduction_proxy_io_data.cc",
20 "data_reduction_proxy_io_data.h",
21 "data_reduction_proxy_metrics.cc",
22 "data_reduction_proxy_metrics.h",
23 "data_reduction_proxy_network_delegate.cc",
24 "data_reduction_proxy_network_delegate.h",
25 "data_reduction_proxy_prefs.cc",
26 "data_reduction_proxy_prefs.h",
27 "data_reduction_proxy_settings.cc",
28 "data_reduction_proxy_settings.h",
29 "data_reduction_proxy_statistics_prefs.cc",
30 "data_reduction_proxy_statistics_prefs.h",
31 "data_reduction_proxy_tamper_detection.cc",
32 "data_reduction_proxy_tamper_detection.h",
33 "data_reduction_proxy_usage_stats.cc",
34 "data_reduction_proxy_usage_stats.h",
40 "//components/data_reduction_proxy/core/common",
41 "//components/pref_registry",
46 if (!is_android && !is_ios) {
47 deps += [ "//google_apis" ]
51 source_set("test_support") {
54 "data_reduction_proxy_config_test_utils.cc",
55 "data_reduction_proxy_config_test_utils.h",
56 "data_reduction_proxy_configurator_test_utils.cc",
57 "data_reduction_proxy_configurator_test_utils.h",
58 "data_reduction_proxy_settings_test_utils.cc",
59 "data_reduction_proxy_settings_test_utils.h",
67 "//base:prefs_test_support",
68 "//components/data_reduction_proxy/core/common",
69 "//components/data_reduction_proxy/core/common:test_support",
77 source_set("unit_tests") {
80 "data_reduction_proxy_auth_request_handler_unittest.cc",
81 "data_reduction_proxy_bypass_protocol_unittest.cc",
82 "data_reduction_proxy_config_unittest.cc",
83 "data_reduction_proxy_configurator_unittest.cc",
84 "data_reduction_proxy_interceptor_unittest.cc",
85 "data_reduction_proxy_metrics_unittest.cc",
86 "data_reduction_proxy_network_delegate_unittest.cc",
87 "data_reduction_proxy_prefs_unittest.cc",
88 "data_reduction_proxy_settings_unittest.cc",
89 "data_reduction_proxy_usage_stats_unittest.cc",
96 "//base:prefs_test_support",
97 "//base/test:test_support",
98 "//components/data_reduction_proxy/core/common:test_support",