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

Unified Diff: net/net.gyp

Issue 266053002: Implement alternative string conversion functions in net/ on Android, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: net/net.gyp
diff --git a/net/net.gyp b/net/net.gyp
index 49519d4ac00a8d88af19928be65e6e6335591d44..9d5cce571fbe40b7011f849630fa64548108c808 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -423,6 +423,16 @@
],
},
],
+ [ 'use_icu_alternatives == 1', {
+ 'sources!': [
+ 'base/net_string_util_icu.cc',
+ ],
+ 'sources': [
+ 'base/net_string_util_icu_alternatives_android.cc',
+ 'base/net_string_util_icu_alternatives_android.h',
+ ],
+ },
+ ],
],
'target_conditions': [
# These source files are excluded by default platform rules, but they
@@ -1405,6 +1415,14 @@
'jni_generator_ptr_type': 'long',
},
'includes': [ '../build/jni_generator.gypi' ],
+
+ 'conditions': [
+ ['use_icu_alternatives==1', {
+ 'sources': [
+ 'android/java/src/org/chromium/net/NetStringUtil.java',
+ ],
+ }],
+ ],
},
{
'target_name': 'net_test_jni_headers',

Powered by Google App Engine
This is Rietveld 408576698