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_config_service_client.cc",
12 "data_reduction_proxy_config_service_client.h",
13 "data_reduction_proxy_configurator.cc",
14 "data_reduction_proxy_configurator.h",
15 "data_reduction_proxy_debug_ui_service.h",
16 "data_reduction_proxy_delegate.cc",
17 "data_reduction_proxy_delegate.h",
18 "data_reduction_proxy_interceptor.cc",
19 "data_reduction_proxy_interceptor.h",
20 "data_reduction_proxy_io_data.cc",
21 "data_reduction_proxy_io_data.h",
22 "data_reduction_proxy_metrics.cc",
23 "data_reduction_proxy_metrics.h",
24 "data_reduction_proxy_mutable_config_values.cc",
25 "data_reduction_proxy_mutable_config_values.h",
26 "data_reduction_proxy_network_delegate.cc",
27 "data_reduction_proxy_network_delegate.h",
28 "data_reduction_proxy_prefs.cc",
29 "data_reduction_proxy_prefs.h",
30 "data_reduction_proxy_request_options.cc",
31 "data_reduction_proxy_request_options.h",
32 "data_reduction_proxy_service.cc",
33 "data_reduction_proxy_service.h",
34 "data_reduction_proxy_settings.cc",
35 "data_reduction_proxy_settings.h",
36 "data_reduction_proxy_statistics_prefs.cc",
37 "data_reduction_proxy_statistics_prefs.h",
38 "data_reduction_proxy_tamper_detection.cc",
39 "data_reduction_proxy_tamper_detection.h",
40 "data_reduction_proxy_usage_stats.cc",
41 "data_reduction_proxy_usage_stats.h",
47 "//components/data_reduction_proxy/core/common",
48 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto",
49 "//components/pref_registry",
54 if (!is_android && !is_ios) {
55 deps += [ "//google_apis" ]
59 source_set("test_support") {
62 "data_reduction_proxy_config_test_utils.cc",
63 "data_reduction_proxy_config_test_utils.h",
64 "data_reduction_proxy_configurator_test_utils.cc",
65 "data_reduction_proxy_configurator_test_utils.h",
66 "data_reduction_proxy_settings_test_utils.cc",
67 "data_reduction_proxy_settings_test_utils.h",
68 "data_reduction_proxy_test_utils.cc",
69 "data_reduction_proxy_test_utils.h",
72 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
79 "//base:prefs_test_support",
80 "//components/data_reduction_proxy/core/common",
81 "//components/data_reduction_proxy/core/common:test_support",
89 source_set("unit_tests") {
92 "data_reduction_proxy_bypass_protocol_unittest.cc",
93 "data_reduction_proxy_config_service_client_unittest.cc",
94 "data_reduction_proxy_config_unittest.cc",
95 "data_reduction_proxy_configurator_unittest.cc",
96 "data_reduction_proxy_interceptor_unittest.cc",
97 "data_reduction_proxy_metrics_unittest.cc",
98 "data_reduction_proxy_network_delegate_unittest.cc",
99 "data_reduction_proxy_prefs_unittest.cc",
100 "data_reduction_proxy_request_options_unittest.cc",
101 "data_reduction_proxy_settings_unittest.cc",
102 "data_reduction_proxy_usage_stats_unittest.cc",
105 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
111 "//base:prefs_test_support",
112 "//base/test:test_support",
113 "//components/data_reduction_proxy/core/common:test_support",
114 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto",
115 "//net:test_support",