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

Unified Diff: components/cronet/android/BUILD.gn

Issue 2839413003: Delete Cronet Data Reduction Proxy integration (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | components/cronet/android/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/android/BUILD.gn
diff --git a/components/cronet/android/BUILD.gn b/components/cronet/android/BUILD.gn
index b51708c0c9cb1caf520d16812366b97b25e987c8..c0abfdfc2fcdb0da3f6d77a735774828dcd17321 100644
--- a/components/cronet/android/BUILD.gn
+++ b/components/cronet/android/BUILD.gn
@@ -14,10 +14,6 @@ import("//url/features.gni")
assert(!is_component_build, "Cronet requires static library build.")
-declare_args() {
- cronet_enable_data_reduction_proxy_support = false
-}
-
generate_jni("cronet_jni_headers") {
sources = [
"java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
@@ -181,8 +177,6 @@ template("cronet_static_tmpl") {
"//components/cronet/android/cert/cert_verifier_cache_serializer.h",
"//components/cronet/android/cronet_bidirectional_stream_adapter.cc",
"//components/cronet/android/cronet_bidirectional_stream_adapter.h",
- "//components/cronet/android/cronet_in_memory_pref_store.cc",
- "//components/cronet/android/cronet_in_memory_pref_store.h",
"//components/cronet/android/cronet_library_loader.cc",
"//components/cronet/android/cronet_library_loader.h",
"//components/cronet/android/cronet_upload_data_stream.cc",
@@ -219,14 +213,6 @@ template("cronet_static_tmpl") {
"log",
]
- if (cronet_enable_data_reduction_proxy_support) {
- defines += [ "DATA_REDUCTION_PROXY_SUPPORT" ]
- sources += [
- "//components/cronet/android/cronet_data_reduction_proxy.cc",
- "//components/cronet/android/cronet_data_reduction_proxy.h",
- ]
- }
-
if (defined(invoker.defines)) {
defines += invoker.defines
}
@@ -243,13 +229,6 @@ cronet_static_tmpl("cronet_static") {
"//url",
]
- if (cronet_enable_data_reduction_proxy_support) {
- deps += [
- "//components/data_reduction_proxy/core/browser:browser_small",
- "//components/data_reduction_proxy/core/common",
- ]
- }
-
if (!use_platform_icu_alternatives) {
deps += [ "//base:i18n" ]
}
@@ -548,10 +527,6 @@ shared_library("cronet_tests") {
]
include_dirs = [ _cronet_version_header_include_dir ]
-
- if (cronet_enable_data_reduction_proxy_support) {
- deps += [ "//components/data_reduction_proxy/core/browser:browser_small" ]
- }
}
android_resources("cronet_test_apk_resources") {
@@ -632,8 +607,6 @@ android_assets("cronet_test_apk_assets") {
"test/assets/test/cacheable.txt.mock-http-headers",
"test/assets/test/content_length_mismatch.html",
"test/assets/test/content_length_mismatch.html.mock-http-headers",
- "test/assets/test/datareductionproxysuccess.txt",
- "test/assets/test/datareductionproxysuccess.txt.mock-http-headers",
"test/assets/test/gzipped.html",
"test/assets/test/gzipped.html.mock-http-headers",
"test/assets/test/multiredirect.html",
« no previous file with comments | « no previous file | components/cronet/android/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698