| Index: components/data_reduction_proxy/content/browser/BUILD.gn
|
| diff --git a/components/data_reduction_proxy/content/browser/BUILD.gn b/components/data_reduction_proxy/content/browser/BUILD.gn
|
| index 12b8caec02bb4420a48ca4cabc335539fe9b69b6..a1c9501fd03985e6a076b4c1d3968153cd3973dd 100644
|
| --- a/components/data_reduction_proxy/content/browser/BUILD.gn
|
| +++ b/components/data_reduction_proxy/content/browser/BUILD.gn
|
| @@ -4,6 +4,8 @@
|
|
|
| static_library("content") {
|
| sources = [
|
| + "data_reduction_proxy_blocking_page.cc",
|
| + "data_reduction_proxy_blocking_page.h",
|
| "data_reduction_proxy_debug_resource_throttle.cc",
|
| "data_reduction_proxy_debug_resource_throttle.h",
|
| "data_reduction_proxy_debug_ui_manager.cc",
|
| @@ -14,20 +16,26 @@ static_library("content") {
|
|
|
| deps = [
|
| "//base",
|
| + "//components/resources",
|
| + "//components/strings",
|
| "//content/public/browser",
|
| "//skia",
|
| + "//ui/base",
|
| ]
|
| }
|
|
|
| -source_set("unit_tests") {
|
| - testonly = true
|
| - sources = [
|
| - "data_reduction_proxy_debug_resource_throttle_unittest.cc",
|
| - "data_reduction_proxy_debug_ui_manager_unittest.cc",
|
| - ]
|
| +if (is_android) {
|
| + source_set("unit_tests") {
|
| + testonly = true
|
| + sources = [
|
| + "data_reduction_proxy_blocking_page_unittest.cc",
|
| + "data_reduction_proxy_debug_resource_throttle_unittest.cc",
|
| + "data_reduction_proxy_debug_ui_manager_unittest.cc",
|
| + ]
|
|
|
| - deps = [
|
| - ":content",
|
| - "//testing/gtest",
|
| - ]
|
| + deps = [
|
| + ":content",
|
| + "//testing/gtest",
|
| + ]
|
| + }
|
| }
|
|
|