Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Unified Diff: components/data_reduction_proxy/content/browser/BUILD.gn

Issue 830503004: Data Reduction Proxy blocking page and resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@interstitalStep1
Patch Set: Test resources fix Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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",
+ ]
+ }
}

Powered by Google App Engine
This is Rietveld 408576698