Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / components / data_reduction_proxy / browser / BUILD.gn
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.
4
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_usage_stats.cc",
23     "data_reduction_proxy_usage_stats.h",
24   ]
25
26   deps = [
27     "//base",
28     "//components/data_reduction_proxy/common",
29     "//components/pref_registry",
30     "//crypto",
31     "//net",
32   ]
33 }
34
35 static_library("test_support") {
36   sources = [
37     "data_reduction_proxy_params_test_utils.cc",
38     "data_reduction_proxy_params_test_utils.h",
39     "data_reduction_proxy_settings_test_utils.cc",
40     "data_reduction_proxy_settings_test_utils.h",
41   ]
42
43   deps = [
44     ":browser",
45     "//base",
46     "//components/data_reduction_proxy/common",
47     "//net",
48     "//net:test_support",
49     "//testing/gmock",
50     "//testing/gtest",
51   ]
52 }
53
54 source_set("unit_tests") {
55   sources = [
56     "data_reduction_proxy_auth_request_handler_unittest.cc",
57     "data_reduction_proxy_config_service_unittest.cc",
58     "data_reduction_proxy_metrics_unittest.cc",
59     "data_reduction_proxy_params_unittest.cc",
60     "data_reduction_proxy_protocol_unittest.cc",
61     "data_reduction_proxy_settings_unittest.cc",
62     "data_reduction_proxy_usage_stats_unittest.cc",
63   ]
64
65   deps = [
66     ":browser",
67     ":test_support",
68     "//testing/gmock",
69     "//testing/gtest",
70   ]
71 }