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

Unified Diff: components/cronet.gypi

Issue 1839803002: Remove net & url small, iOS ICU alternatives, unit tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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 | « build/common.gypi ('k') | components/cronet/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet.gypi
diff --git a/components/cronet.gypi b/components/cronet.gypi
index 1287b55850708ed5b4f1948ac306e3f3cf6ac7e0..792acfbb16f2dd09a7df39826a11a84d27fd0bcd 100644
--- a/components/cronet.gypi
+++ b/components/cronet.gypi
@@ -174,18 +174,11 @@
],
},
{
- # cronet_static_small target has reduced binary size through using
- # ICU alternatives which requires file and ftp support be disabled.
- 'target_name': 'cronet_static_small',
+ 'target_name': 'cronet_static',
'type': 'static_library',
- 'defines': [
- 'USE_ICU_ALTERNATIVES_ON_ANDROID=1',
- 'DISABLE_FILE_SUPPORT=1',
- 'DISABLE_FTP_SUPPORT=1',
- ],
'dependencies': [
- '../net/net.gyp:net_small',
- '../url/url.gyp:url_lib_use_icu_alternatives_on_android',
+ '../net/net.gyp:net',
+ '../url/url.gyp:url_lib',
],
'conditions': [
['enable_data_reduction_proxy_support==1',
@@ -195,23 +188,10 @@
],
},
],
- ],
- 'includes': [ 'cronet/cronet_static.gypi' ],
- },
- {
- # cronet_static target depends on ICU and includes file and ftp support.
- 'target_name': 'cronet_static',
- 'type': 'static_library',
- 'dependencies': [
- '../base/base.gyp:base_i18n',
- '../net/net.gyp:net',
- '../url/url.gyp:url_lib',
- ],
- 'conditions': [
- ['enable_data_reduction_proxy_support==1',
+ ['use_platform_icu_alternatives!=1',
{
'dependencies': [
- '../components/components.gyp:data_reduction_proxy_core_browser',
+ '../base/base.gyp:base_i18n',
],
},
],
@@ -225,9 +205,9 @@
'cronet/android/cronet_jni.cc',
],
'dependencies': [
- 'cronet_static_small',
+ 'cronet_static',
'../base/base.gyp:base',
- '../net/net.gyp:net_small',
+ '../net/net.gyp:net',
],
'ldflags': [
'-Wl,--version-script=<!(cd <(DEPTH) && pwd -P)/components/cronet/android/only_jni_exports.lst',
@@ -431,7 +411,7 @@
['enable_data_reduction_proxy_support==1',
{
'dependencies': [
- '../components/components.gyp:data_reduction_proxy_core_browser',
+ '../components/components.gyp:data_reduction_proxy_core_browser_small',
],
},
],
« no previous file with comments | « build/common.gypi ('k') | components/cronet/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698