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 static_library("browser") { | 5 static_library("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", | 9 "content_lofi_ui_service.cc", |
10 "content_lofi_ui_service.h", | 10 "content_lofi_ui_service.h", |
11 "data_reduction_proxy_message_filter.cc", | |
12 "data_reduction_proxy_message_filter.h", | |
13 ] | 11 ] |
14 | 12 |
15 deps = [ | 13 deps = [ |
16 "//base", | 14 "//base", |
17 "//components/data_reduction_proxy/content/common", | |
18 "//components/data_reduction_proxy/core/browser", | 15 "//components/data_reduction_proxy/core/browser", |
19 "//components/data_reduction_proxy/core/common", | 16 "//components/data_reduction_proxy/core/common", |
20 "//content/public/browser", | 17 "//content/public/browser", |
21 "//content/public/common", | 18 "//content/public/common", |
22 "//ipc", | |
23 "//net", | 19 "//net", |
24 ] | 20 ] |
25 } | 21 } |
26 | 22 |
27 source_set("unit_tests") { | 23 source_set("unit_tests") { |
28 testonly = true | 24 testonly = true |
29 sources = [ | 25 sources = [ |
30 "content_lofi_decider_unittest.cc", | 26 "content_lofi_decider_unittest.cc", |
31 "content_lofi_ui_service_unittest.cc", | 27 "content_lofi_ui_service_unittest.cc", |
32 "data_reduction_proxy_message_filter_unittest.cc", | |
33 ] | 28 ] |
34 | 29 |
35 deps = [ | 30 deps = [ |
36 ":browser", | 31 ":browser", |
37 "//base", | 32 "//base", |
38 "//components/data_reduction_proxy/core/browser:test_support", | 33 "//components/data_reduction_proxy/core/browser:test_support", |
39 "//components/data_reduction_proxy/core/common:test_support", | 34 "//components/data_reduction_proxy/core/common:test_support", |
40 "//content/public/browser", | 35 "//content/public/browser", |
41 "//content/public/common", | 36 "//content/public/common", |
42 "//content/test:test_support", | 37 "//content/test:test_support", |
43 "//net:test_support", | 38 "//net:test_support", |
44 "//testing/gmock", | 39 "//testing/gmock", |
45 "//testing/gtest", | 40 "//testing/gtest", |
46 ] | 41 ] |
47 } | 42 } |
OLD | NEW |