| Index: build/android/gyp/package_resources.py
|
| diff --git a/build/android/gyp/package_resources.py b/build/android/gyp/package_resources.py
|
| index 6444ed9f225abc1ab78004f5b9171d2a1da6f216..9b6ec68b5025d85f6163109b2f088875808696c3 100755
|
| --- a/build/android/gyp/package_resources.py
|
| +++ b/build/android/gyp/package_resources.py
|
| @@ -37,6 +37,11 @@ def ParseArgs():
|
| parser.add_option('--android-manifest', help='AndroidManifest.xml path')
|
| parser.add_option('--version-code', help='Version code for apk.')
|
| parser.add_option('--version-name', help='Version name for apk.')
|
| + parser.add_option(
|
| + '--shared-resources',
|
| + action='store_true',
|
| + help='Make a resource package that can be loaded by a different'
|
| + 'application at runtime to access the package\'s resources.')
|
| parser.add_option('--resource-zips',
|
| help='zip files containing resources to be packaged')
|
| parser.add_option('--asset-dir',
|
| @@ -132,6 +137,8 @@ def main():
|
| if options.no_compress:
|
| for ext in options.no_compress.split(','):
|
| package_command += ['-0', ext]
|
| + if options.shared_resources:
|
| + package_command.append('--shared-lib')
|
|
|
| if os.path.exists(options.asset_dir):
|
| package_command += ['-A', options.asset_dir]
|
|
|