| Index: build/android/gyp/package_resources.py
|
| diff --git a/build/android/gyp/package_resources.py b/build/android/gyp/package_resources.py
|
| index 7a7e16ce39b0cc1f97658bec4a1be3996238c16e..77cc276de5b0623bea45c1b3c1b0187e7b798770 100755
|
| --- a/build/android/gyp/package_resources.py
|
| +++ b/build/android/gyp/package_resources.py
|
| @@ -40,6 +40,8 @@ def ParseArgs():
|
| help='zip files containing resources to be packaged')
|
| parser.add_option('--asset-dir',
|
| help='directories containing assets to be packaged')
|
| + parser.add_option('--no-compress', help='disables compression for the '
|
| + 'given comma separated list of extensions')
|
|
|
| parser.add_option('--apk-path',
|
| help='Path to output (partial) apk.')
|
| @@ -104,6 +106,10 @@ def main():
|
| '-F', options.apk_path,
|
| ]
|
|
|
| + if options.no_compress:
|
| + for ext in options.no_compress.split(','):
|
| + package_command += ['-0', ext]
|
| +
|
| if os.path.exists(options.asset_dir):
|
| package_command += ['-A', options.asset_dir]
|
|
|
|
|