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_data_reduction_proxy_debug_ui_service.cc", | 7 "data_reduction_proxy_message_filter.cc", |
8 "content_data_reduction_proxy_debug_ui_service.h", | 8 "data_reduction_proxy_message_filter.h", |
9 "data_reduction_proxy_debug_blocking_page.cc", | |
10 "data_reduction_proxy_debug_blocking_page.h", | |
11 "data_reduction_proxy_debug_resource_throttle.cc", | |
12 "data_reduction_proxy_debug_resource_throttle.h", | |
13 "data_reduction_proxy_debug_ui_manager.cc", | |
14 "data_reduction_proxy_debug_ui_manager.h", | |
15 ] | 9 ] |
16 | 10 |
17 deps = [ | 11 deps = [ |
18 "//base", | 12 "//base", |
19 "//components/resources", | 13 "//components/data_reduction_proxy/content/common", |
20 "//components/strings", | |
21 "//content/public/browser", | 14 "//content/public/browser", |
22 "//skia", | 15 "//ipc", |
23 "//ui/base", | 16 "//net", |
24 ] | 17 ] |
| 18 |
| 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 ] |
| 30 |
| 31 deps += [ |
| 32 "//components/resources", |
| 33 "//components/strings", |
| 34 "//skia", |
| 35 "//ui/base", |
| 36 ] |
| 37 } |
25 } | 38 } |
26 | 39 |
27 if (is_android) { | 40 source_set("unit_tests") { |
28 source_set("unit_tests") { | 41 testonly = true |
29 testonly = true | 42 sources = [ |
30 sources = [ | 43 "data_reduction_proxy_message_filter_unittest.cc", |
| 44 ] |
| 45 |
| 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 ] |
| 55 |
| 56 if (is_android) { |
| 57 sources += [ |
31 "data_reduction_proxy_debug_blocking_page_unittest.cc", | 58 "data_reduction_proxy_debug_blocking_page_unittest.cc", |
32 "data_reduction_proxy_debug_resource_throttle_unittest.cc", | 59 "data_reduction_proxy_debug_resource_throttle_unittest.cc", |
33 "data_reduction_proxy_debug_ui_manager_unittest.cc", | 60 "data_reduction_proxy_debug_ui_manager_unittest.cc", |
34 ] | 61 ] |
35 | 62 |
36 deps = [ | 63 deps += [ |
37 ":browser", | |
38 "//skia", | 64 "//skia", |
39 "//testing/gtest", | |
40 "//testing/gmock", | |
41 "//third_party/mojo/src/mojo/public/cpp/bindings", | 65 "//third_party/mojo/src/mojo/public/cpp/bindings", |
42 ] | 66 ] |
43 } | 67 } |
44 } | 68 } |
OLD | NEW |