OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 source_set("browser") { | 5 source_set("browser") { |
6 sources = [ | 6 sources = [ |
7 "content_lofi_decider.cc", | 7 "content_lofi_decider.cc", |
8 "content_lofi_decider.h", | 8 "content_lofi_decider.h", |
| 9 "content_lofi_ui_service.cc", |
| 10 "content_lofi_ui_service.h", |
9 "data_reduction_proxy_message_filter.cc", | 11 "data_reduction_proxy_message_filter.cc", |
10 "data_reduction_proxy_message_filter.h", | 12 "data_reduction_proxy_message_filter.h", |
11 ] | 13 ] |
12 | 14 |
13 deps = [ | 15 deps = [ |
14 "//base", | 16 "//base", |
15 "//components/data_reduction_proxy/content/common", | 17 "//components/data_reduction_proxy/content/common", |
16 "//components/data_reduction_proxy/core/browser", | 18 "//components/data_reduction_proxy/core/browser", |
17 "//components/data_reduction_proxy/core/common", | 19 "//components/data_reduction_proxy/core/common", |
18 "//content/public/browser", | 20 "//content/public/browser", |
(...skipping 20 matching lines...) Expand all Loading... |
39 "//skia", | 41 "//skia", |
40 "//ui/base", | 42 "//ui/base", |
41 ] | 43 ] |
42 } | 44 } |
43 } | 45 } |
44 | 46 |
45 source_set("unit_tests") { | 47 source_set("unit_tests") { |
46 testonly = true | 48 testonly = true |
47 sources = [ | 49 sources = [ |
48 "content_lofi_decider_unittest.cc", | 50 "content_lofi_decider_unittest.cc", |
| 51 "content_lofi_ui_service_unittest.cc", |
49 "data_reduction_proxy_message_filter_unittest.cc", | 52 "data_reduction_proxy_message_filter_unittest.cc", |
50 ] | 53 ] |
51 | 54 |
52 deps = [ | 55 deps = [ |
53 ":browser", | 56 ":browser", |
54 "//base", | 57 "//base", |
55 "//components/data_reduction_proxy/core/browser:test_support", | 58 "//components/data_reduction_proxy/core/browser:test_support", |
56 "//components/data_reduction_proxy/core/common:test_support", | 59 "//components/data_reduction_proxy/core/common:test_support", |
57 "//content/public/browser", | 60 "//content/public/browser", |
58 "//content/public/common", | 61 "//content/public/common", |
59 "//content/test:test_support", | 62 "//content/test:test_support", |
60 "//net:test_support", | 63 "//net:test_support", |
61 "//testing/gmock", | 64 "//testing/gmock", |
62 "//testing/gtest", | 65 "//testing/gtest", |
63 ] | 66 ] |
64 | 67 |
65 if (is_android) { | 68 if (is_android) { |
66 sources += [ | 69 sources += [ |
67 "data_reduction_proxy_debug_blocking_page_unittest.cc", | 70 "data_reduction_proxy_debug_blocking_page_unittest.cc", |
68 "data_reduction_proxy_debug_resource_throttle_unittest.cc", | 71 "data_reduction_proxy_debug_resource_throttle_unittest.cc", |
69 "data_reduction_proxy_debug_ui_manager_unittest.cc", | 72 "data_reduction_proxy_debug_ui_manager_unittest.cc", |
70 ] | 73 ] |
71 | 74 |
72 deps += [ | 75 deps += [ |
73 "//mojo/public/cpp/bindings", | 76 "//mojo/public/cpp/bindings", |
74 "//skia", | 77 "//skia", |
75 ] | 78 ] |
76 } | 79 } |
77 } | 80 } |
OLD | NEW |