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 source_set("browser") {
7 "data_reduction_proxy_bypass_protocol.cc",
8 "data_reduction_proxy_bypass_protocol.h",
9 "data_reduction_proxy_bypass_stats.cc",
10 "data_reduction_proxy_bypass_stats.h",
11 "data_reduction_proxy_compression_stats.cc",
12 "data_reduction_proxy_compression_stats.h",
13 "data_reduction_proxy_config.cc",
14 "data_reduction_proxy_config.h",
15 "data_reduction_proxy_config_retrieval_params.cc",
16 "data_reduction_proxy_config_retrieval_params.h",
17 "data_reduction_proxy_config_service_client.cc",
18 "data_reduction_proxy_config_service_client.h",
19 "data_reduction_proxy_configurator.cc",
20 "data_reduction_proxy_configurator.h",
21 "data_reduction_proxy_debug_ui_service.h",
22 "data_reduction_proxy_delegate.cc",
23 "data_reduction_proxy_delegate.h",
24 "data_reduction_proxy_experiments_stats.cc",
25 "data_reduction_proxy_experiments_stats.h",
26 "data_reduction_proxy_interceptor.cc",
27 "data_reduction_proxy_interceptor.h",
28 "data_reduction_proxy_io_data.cc",
29 "data_reduction_proxy_io_data.h",
30 "data_reduction_proxy_metrics.cc",
31 "data_reduction_proxy_metrics.h",
32 "data_reduction_proxy_mutable_config_values.cc",
33 "data_reduction_proxy_mutable_config_values.h",
34 "data_reduction_proxy_network_delegate.cc",
35 "data_reduction_proxy_network_delegate.h",
36 "data_reduction_proxy_prefs.cc",
37 "data_reduction_proxy_prefs.h",
38 "data_reduction_proxy_request_options.cc",
39 "data_reduction_proxy_request_options.h",
40 "data_reduction_proxy_service.cc",
41 "data_reduction_proxy_service.h",
42 "data_reduction_proxy_service_observer.h",
43 "data_reduction_proxy_settings.cc",
44 "data_reduction_proxy_settings.h",
45 "data_reduction_proxy_tamper_detection.cc",
46 "data_reduction_proxy_tamper_detection.h",
51 "data_usage_store.cc",
60 "//components/data_reduction_proxy/core/common",
61 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto",
62 "//components/pref_registry",
66 "//third_party/leveldatabase",
70 defines = [ "USE_GOOGLE_API_KEYS" ]
72 defines += [ "USE_GOOGLE_API_KEYS_FOR_AUTH_KEY" ]
76 source_set("test_support") {
79 "data_reduction_proxy_config_test_utils.cc",
80 "data_reduction_proxy_config_test_utils.h",
81 "data_reduction_proxy_configurator_test_utils.cc",
82 "data_reduction_proxy_configurator_test_utils.h",
83 "data_reduction_proxy_settings_test_utils.cc",
84 "data_reduction_proxy_settings_test_utils.h",
85 "data_reduction_proxy_test_utils.cc",
86 "data_reduction_proxy_test_utils.h",
89 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
96 "//base:prefs_test_support",
97 "//components/data_reduction_proxy/core/common",
98 "//components/data_reduction_proxy/core/common:test_support",
100 "//net:test_support",
106 source_set("unit_tests") {
109 "data_reduction_proxy_bypass_protocol_unittest.cc",
110 "data_reduction_proxy_bypass_stats_unittest.cc",
111 "data_reduction_proxy_compression_stats_unittest.cc",
112 "data_reduction_proxy_config_retrieval_params_unittest.cc",
113 "data_reduction_proxy_config_service_client_unittest.cc",
114 "data_reduction_proxy_config_unittest.cc",
115 "data_reduction_proxy_configurator_unittest.cc",
116 "data_reduction_proxy_experiments_stats_unittest.cc",
117 "data_reduction_proxy_interceptor_unittest.cc",
118 "data_reduction_proxy_io_data_unittest.cc",
119 "data_reduction_proxy_metrics_unittest.cc",
120 "data_reduction_proxy_network_delegate_unittest.cc",
121 "data_reduction_proxy_prefs_unittest.cc",
122 "data_reduction_proxy_request_options_unittest.cc",
123 "data_reduction_proxy_settings_unittest.cc",
124 "data_reduction_proxy_tamper_detection_unittest.cc",
125 "data_usage_store_unittest.cc",
128 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
134 "//base:prefs_test_support",
135 "//base/test:test_support",
136 "//components/data_reduction_proxy/core/common:test_support",
137 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto",
138 "//net:test_support",