summaryrefslogtreecommitdiff
path: root/tools/icu/icu-generic.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/icu/icu-generic.gyp')
-rw-r--r--tools/icu/icu-generic.gyp12
1 files changed, 10 insertions, 2 deletions
diff --git a/tools/icu/icu-generic.gyp b/tools/icu/icu-generic.gyp
index 900cdb96f0..4741b337ea 100644
--- a/tools/icu/icu-generic.gyp
+++ b/tools/icu/icu-generic.gyp
@@ -29,9 +29,17 @@
'type': 'none',
'toolsets': [ 'host', 'target' ],
'direct_dependent_settings': {
+ 'conditions': [
+ [ 'icu_endianness == "l"', {
+ 'defines': [
+ # ICU cannot swap the initial data without this.
+ # http://bugs.icu-project.org/trac/ticket/11046
+ 'UCONFIG_NO_LEGACY_CONVERSION=1',
+ 'UCONFIG_NO_IDNA=1',
+ ],
+ }],
+ ],
'defines': [
- 'UCONFIG_NO_LEGACY_CONVERSION=1',
- 'UCONFIG_NO_IDNA=1',
'UCONFIG_NO_TRANSLITERATION=1',
'UCONFIG_NO_SERVICE=1',
'UCONFIG_NO_REGULAR_EXPRESSIONS=1',