Index: icu.gyp |
diff --git a/icu.gyp b/icu.gyp |
index 4a5bddcb5a2f302b66cd0e777b7ff116383f7fda..c3b6197f4ceb05a8bab5775ad564eb6698cd8408 100644 |
--- a/icu.gyp |
+++ b/icu.gyp |
@@ -571,14 +571,31 @@ |
'USE_SYSTEM_ICU', |
], |
}, |
- 'link_settings': { |
- 'ldflags': [ |
- '<!@(icu-config --ldflags)', |
- ], |
- 'libraries': [ |
- '<!@(icu-config --ldflags-libsonly)', |
- ], |
- }, |
+ 'conditions': [ |
+ ['OS=="android"', { |
+ 'direct_dependent_settings': { |
+ 'include_dirs': [ |
+ '<(android_src)/external/icu4c/common', |
+ '<(android_src)/external/icu4c/i18n', |
+ ], |
+ }, |
+ 'link_settings': { |
+ 'libraries': [ |
+ '-licui18n', |
+ '-licuuc', |
+ ], |
+ }, |
+ },{ # OS!="android" |
+ 'link_settings': { |
+ 'ldflags': [ |
+ '<!@(icu-config --ldflags)', |
+ ], |
+ 'libraries': [ |
+ '<!@(icu-config --ldflags-libsonly)', |
+ ], |
+ }, |
+ }], |
+ ], |
}, |
{ |
'target_name': 'icudata', |