| Index: build/android/gyp/process_resources.py
|
| diff --git a/build/android/gyp/process_resources.py b/build/android/gyp/process_resources.py
|
| index e05e0fdff7255f5a9466909433d419f4c16d8fd8..77295724ff8b8d0341bd5c464dc513c1861f9271 100755
|
| --- a/build/android/gyp/process_resources.py
|
| +++ b/build/android/gyp/process_resources.py
|
| @@ -48,6 +48,10 @@ def ParseArgs(args):
|
| 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(
|
| + '--app-as-shared-lib',
|
| + action='store_true',
|
| + help='Make a resource package that can be loaded as shared library.')
|
|
|
| parser.add_option('--resource-dirs',
|
| help='Directories containing resources of this target.')
|
| @@ -361,6 +365,8 @@ def main():
|
| package_command += ['-G', options.proguard_file]
|
| if options.shared_resources:
|
| package_command.append('--shared-lib')
|
| + if options.app_as_shared_lib:
|
| + package_command.append('--app-as-shared-lib')
|
| build_utils.CheckOutput(package_command, print_stderr=False)
|
|
|
| if options.extra_res_packages:
|
|
|