Index: third_party/icu/icu.gyp |
=================================================================== |
--- third_party/icu/icu.gyp (revision 43139) |
+++ third_party/icu/icu.gyp (working copy) |
@@ -28,8 +28,12 @@ |
# version is an identical copy of the (mac) icudt42l_dat.s file, |
# modulo removal of the .private_extern and .const directives and |
# with no leading underscore on the icudt42_dat symbol. |
+ # The ChromiumOS version is slightly smaller because it doesn't |
+ # have locale data for locales Chrome is localized to but ChromeOS |
+ # is not localized to. |
'linux/icudt42l_dat.s', |
'mac/icudt42l_dat.s', |
+ 'cros/icudt42l_dat.s', |
], |
'conditions': [ |
[ 'OS == "win"', { |
@@ -38,12 +42,15 @@ |
}, { # else: OS != "win" |
'sources!': ['icudt42.dll'], |
}], |
- [ 'OS != "linux"', { |
+ [ 'OS != "linux" or chromeos == 1', { |
'sources!': ['linux/icudt42l_dat.s'], |
}], |
[ 'OS != "mac"', { |
'sources!': ['mac/icudt42l_dat.s'], |
}], |
+ [ 'chromeos != 1', { |
+ 'sources!': ['cros/icudt42l_dat.s'], |
+ }], |
], |
}, |
{ |