| Index: tools/grit/grit/node/include.py
|
| diff --git a/tools/grit/grit/node/include.py b/tools/grit/grit/node/include.py
|
| index 9383adec576eaa7b170ec4c5584a8d923bfbc8d6..46f1c07be156aa51548268ac80f8608a8314238a 100755
|
| --- a/tools/grit/grit/node/include.py
|
| +++ b/tools/grit/grit/node/include.py
|
| @@ -97,7 +97,8 @@ class IncludeNode(base.Node):
|
| # Note that the minifier will only do anything if a minifier command
|
| # has been set in the command line.
|
| data = minifier.Minify(data, filename)
|
| - if 'compress' in self.attrs and self.attrs['compress'] == 'gzip':
|
| + use_gzip = self.attrs.get('compress', '') == 'gzip'
|
| + if use_gzip and self.GetRoot().target_platform != 'ios':
|
| # We only use rsyncable compression on Linux.
|
| # We exclude ChromeOS since ChromeOS bots are Linux based but do not have
|
| # the --rsyncable option built in for gzip. See crbug.com/617950.
|
|
|