ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / components / data_reduction_proxy / core / browser / BUILD.gn
blobc1e75c35c566ce6a0055f4742c0b27a434d6a9e2
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") {
6   sources = [
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",
38   ]
40   deps = [
41     "//base",
42     "//base:prefs",
43     "//components/data_reduction_proxy/core/common",
44     "//components/pref_registry",
45     "//crypto",
46     "//net",
47     "//url",
48   ]
49   if (!is_android && !is_ios) {
50     deps += [ "//google_apis" ]
51   }
54 source_set("test_support") {
55   testonly = true
56   sources = [
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",
65   ]
67   public_deps = [
68     ":browser",
69   ]
70   deps = [
71     "//base",
72     "//base:prefs_test_support",
73     "//components/data_reduction_proxy/core/common",
74     "//components/data_reduction_proxy/core/common:test_support",
75     "//net",
76     "//net:test_support",
77     "//testing/gmock",
78     "//testing/gtest",
79   ]
82 source_set("unit_tests") {
83   testonly = true
84   sources = [
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",
95   ]
97   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
99   deps = [
100     ":browser",
101     ":test_support",
102     "//base",
103     "//base:prefs_test_support",
104     "//base/test:test_support",
105     "//components/data_reduction_proxy/core/common:test_support",
106     "//net:test_support",
107     "//testing/gmock",
108     "//testing/gtest",
109   ]