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

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

Issue 966443002: Add DataReductionProxy IPC to determine if the Data Reduction Proxy was used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to head 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
« no previous file with comments | « components/data_reduction_proxy/OWNERS ('k') | components/data_reduction_proxy/content/browser/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 950e947ff7fc162de2c84fc5770510e24a636355..43af69b74d50e332ed962a2570dfcab0896f72b7 100644
--- a/components/data_reduction_proxy/content/browser/BUILD.gn
+++ b/components/data_reduction_proxy/content/browser/BUILD.gn
@@ -4,40 +4,64 @@
static_library("browser") {
sources = [
- "content_data_reduction_proxy_debug_ui_service.cc",
- "content_data_reduction_proxy_debug_ui_service.h",
- "data_reduction_proxy_debug_blocking_page.cc",
- "data_reduction_proxy_debug_blocking_page.h",
- "data_reduction_proxy_debug_resource_throttle.cc",
- "data_reduction_proxy_debug_resource_throttle.h",
- "data_reduction_proxy_debug_ui_manager.cc",
- "data_reduction_proxy_debug_ui_manager.h",
+ "data_reduction_proxy_message_filter.cc",
+ "data_reduction_proxy_message_filter.h",
]
deps = [
"//base",
- "//components/resources",
- "//components/strings",
+ "//components/data_reduction_proxy/content/common",
"//content/public/browser",
- "//skia",
- "//ui/base",
+ "//ipc",
+ "//net",
]
+
+ if (is_android) {
+ sources += [
+ "content_data_reduction_proxy_debug_ui_service.cc",
+ "content_data_reduction_proxy_debug_ui_service.h",
+ "data_reduction_proxy_debug_blocking_page.cc",
+ "data_reduction_proxy_debug_blocking_page.h",
+ "data_reduction_proxy_debug_resource_throttle.cc",
+ "data_reduction_proxy_debug_resource_throttle.h",
+ "data_reduction_proxy_debug_ui_manager.cc",
+ "data_reduction_proxy_debug_ui_manager.h",
+ ]
+
+ deps += [
+ "//components/resources",
+ "//components/strings",
+ "//skia",
+ "//ui/base",
+ ]
+ }
}
-if (is_android) {
- source_set("unit_tests") {
- testonly = true
- sources = [
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "data_reduction_proxy_message_filter_unittest.cc",
+ ]
+
+ deps = [
+ ":browser",
+ "//base",
+ "//components/data_reduction_proxy/core/browser:test_support",
+ "//components/data_reduction_proxy/core/common:test_support",
+ "//net",
+ "//testing/gtest",
+ "//testing/gmock",
+ ]
+
+ if (is_android) {
+ sources += [
"data_reduction_proxy_debug_blocking_page_unittest.cc",
"data_reduction_proxy_debug_resource_throttle_unittest.cc",
"data_reduction_proxy_debug_ui_manager_unittest.cc",
]
- deps = [
- ":browser",
+ deps += [
"//skia",
- "//testing/gtest",
- "//testing/gmock",
"//third_party/mojo/src/mojo/public/cpp/bindings",
]
}
« no previous file with comments | « components/data_reduction_proxy/OWNERS ('k') | components/data_reduction_proxy/content/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698