Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / components / data_reduction_proxy / browser / BUILD.gn
blobd00e084c362b1ff223f9b01798cd7f67da928562
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_auth_request_handler.cc",
8     "data_reduction_proxy_auth_request_handler.h",
9     "data_reduction_proxy_config_service.cc",
10     "data_reduction_proxy_config_service.h",
11     "data_reduction_proxy_configurator.h",
12     "data_reduction_proxy_metrics.cc",
13     "data_reduction_proxy_metrics.h",
14     "data_reduction_proxy_params.cc",
15     "data_reduction_proxy_params.h",
16     "data_reduction_proxy_prefs.cc",
17     "data_reduction_proxy_prefs.h",
18     "data_reduction_proxy_protocol.cc",
19     "data_reduction_proxy_protocol.h",
20     "data_reduction_proxy_settings.cc",
21     "data_reduction_proxy_settings.h",
22     "data_reduction_proxy_tamper_detection.cc",
23     "data_reduction_proxy_tamper_detection.h",
24     "data_reduction_proxy_usage_stats.cc",
25     "data_reduction_proxy_usage_stats.h",
26   ]
28   deps = [
29     "//base",
30     "//components/data_reduction_proxy/common",
31     "//components/pref_registry",
32     "//crypto",
33     "//net",
34   ]
37 static_library("test_support") {
38   sources = [
39     "data_reduction_proxy_params_test_utils.cc",
40     "data_reduction_proxy_params_test_utils.h",
41     "data_reduction_proxy_settings_test_utils.cc",
42     "data_reduction_proxy_settings_test_utils.h",
43   ]
45   deps = [
46     ":browser",
47     "//base",
48     "//components/data_reduction_proxy/common",
49     "//net",
50     "//net:test_support",
51     "//testing/gmock",
52     "//testing/gtest",
53   ]
56 source_set("unit_tests") {
57   sources = [
58     "data_reduction_proxy_auth_request_handler_unittest.cc",
59     "data_reduction_proxy_config_service_unittest.cc",
60     "data_reduction_proxy_metrics_unittest.cc",
61     "data_reduction_proxy_params_unittest.cc",
62     "data_reduction_proxy_protocol_unittest.cc",
63     "data_reduction_proxy_settings_unittest.cc",
64     "data_reduction_proxy_usage_stats_unittest.cc",
65   ]
67   deps = [
68     ":browser",
69     ":test_support",
70     "//testing/gmock",
71     "//testing/gtest",
72   ]