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: url/url.gyp

Issue 1001833005: Update from https://crrev.com/320343 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Supress Created 5 years, 9 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 | « ui/gl/gpu_timing.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: url/url.gyp
diff --git a/url/url.gyp b/url/url.gyp
index 0ffc51a8c410ecad04934baa5f790deae3c8d9d5..41148019b0a67760902883f72cfa3144ede74ed7 100644
--- a/url/url.gyp
+++ b/url/url.gyp
@@ -33,28 +33,6 @@
'defines': [
'URL_IMPLEMENTATION',
],
- 'conditions': [
- ['use_icu_alternatives_on_android==1', {
- 'sources!': [
- 'url_canon_icu.cc',
- 'url_canon_icu.h',
- ],
- 'dependencies!': [
- '../third_party/icu/icu.gyp:icui18n',
- '../third_party/icu/icu.gyp:icuuc',
- ],
- }],
- ['use_icu_alternatives_on_android==1 and OS=="android"', {
- 'dependencies': [
- 'url_java',
- 'url_jni_headers',
- ],
- 'sources': [
- 'url_canon_icu_alternatives_android.cc',
- 'url_canon_icu_alternatives_android.h',
- ],
- }],
- ],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
@@ -84,23 +62,13 @@
],
}
],
- ['use_icu_alternatives_on_android==1',
- {
- 'sources!': [
- 'url_canon_icu_unittest.cc',
- ],
- 'dependencies!': [
- '../third_party/icu/icu.gyp:icuuc',
- ],
- }
- ],
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
],
'conditions': [
- ['use_icu_alternatives_on_android==1 and OS=="android"', {
+ ['OS=="android"', {
'targets': [
{
'target_name': 'url_jni_headers',
@@ -124,6 +92,35 @@
],
'includes': [ '../build/java.gypi' ],
},
+ {
+ # Same as url_lib but using ICU alternatives on Android.
+ 'target_name': 'url_lib_use_icu_alternatives_on_android',
+ 'type': '<(component)',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
+ 'url_java',
+ 'url_jni_headers',
+ ],
+ 'sources': [
+ '<@(gurl_sources)',
+ 'url_canon_icu_alternatives_android.cc',
+ 'url_canon_icu_alternatives_android.h',
+ ],
+ 'sources!': [
+ 'url_canon_icu.cc',
+ 'url_canon_icu.h',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '..',
+ ],
+ },
+ 'defines': [
+ 'URL_IMPLEMENTATION',
+ 'USE_ICU_ALTERNATIVES_ON_ANDROID=1',
+ ],
+ },
],
}],
],
« no previous file with comments | « ui/gl/gpu_timing.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698