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

Unified Diff: net/BUILD.gn

Issue 1431723002: Add brotli content-encoding filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebaseline Created 5 years 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 | « chrome/browser/io_thread.cc ('k') | net/DEPS » ('j') | net/DEPS » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/BUILD.gn
diff --git a/net/BUILD.gn b/net/BUILD.gn
index 4ca6128f1888119f336ed9d40fcce6e5236103d3..81b5323bccb1f699779b698d21941610094fa686 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -451,6 +451,10 @@ component("net") {
"base/net_string_util_icu.cc",
"base/net_util_icu.cc",
]
+
+ # Brotli support.
+ deps += [ "//third_party/brotli" ]
+ sources += [ "filter/brotli_filter.cc" ]
}
}
@@ -484,6 +488,9 @@ if (is_android) {
"base/net_string_util_icu_alternatives_android.cc",
"base/net_string_util_icu_alternatives_android.h",
]
+
+ # Disable Brotli support.
+ sources += [ "filter/brotli_filter_disabled.cc" ]
}
}
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | net/DEPS » ('j') | net/DEPS » ('J')

Powered by Google App Engine
This is Rietveld 408576698