Roll src/third_party/WebKit c63b89c:29324ab (svn 202546:202547)
[chromium-blink-merge.git] / components / data_reduction_proxy / content / browser / BUILD.gn
blob43af69b74d50e332ed962a2570dfcab0896f72b7
1 # Copyright 2015 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_message_filter.cc",
8     "data_reduction_proxy_message_filter.h",
9   ]
11   deps = [
12     "//base",
13     "//components/data_reduction_proxy/content/common",
14     "//content/public/browser",
15     "//ipc",
16     "//net",
17   ]
19   if (is_android) {
20     sources += [
21       "content_data_reduction_proxy_debug_ui_service.cc",
22       "content_data_reduction_proxy_debug_ui_service.h",
23       "data_reduction_proxy_debug_blocking_page.cc",
24       "data_reduction_proxy_debug_blocking_page.h",
25       "data_reduction_proxy_debug_resource_throttle.cc",
26       "data_reduction_proxy_debug_resource_throttle.h",
27       "data_reduction_proxy_debug_ui_manager.cc",
28       "data_reduction_proxy_debug_ui_manager.h",
29     ]
31     deps += [
32       "//components/resources",
33       "//components/strings",
34       "//skia",
35       "//ui/base",
36     ]
37   }
40 source_set("unit_tests") {
41   testonly = true
42   sources = [
43     "data_reduction_proxy_message_filter_unittest.cc",
44   ]
46   deps = [
47     ":browser",
48     "//base",
49     "//components/data_reduction_proxy/core/browser:test_support",
50     "//components/data_reduction_proxy/core/common:test_support",
51     "//net",
52     "//testing/gtest",
53     "//testing/gmock",
54   ]
56   if (is_android) {
57     sources += [
58       "data_reduction_proxy_debug_blocking_page_unittest.cc",
59       "data_reduction_proxy_debug_resource_throttle_unittest.cc",
60       "data_reduction_proxy_debug_ui_manager_unittest.cc",
61     ]
63     deps += [
64       "//skia",
65       "//third_party/mojo/src/mojo/public/cpp/bindings",
66     ]
67   }