| Index: build/android/gyp/process_resources.py
|
| diff --git a/build/android/gyp/process_resources.py b/build/android/gyp/process_resources.py
|
| index df3c8e7659d4359239b3770d953021ceb3eb1a2a..68fd3fff3ab3bf72c336258b81afcccddbb6e469 100755
|
| --- a/build/android/gyp/process_resources.py
|
| +++ b/build/android/gyp/process_resources.py
|
| @@ -70,6 +70,11 @@ def ParseArgs(args):
|
| 'list of resources to be included in the R.java file in the format '
|
| 'generated by aapt')
|
|
|
| + parser.add_option(
|
| + '--all-resources-zip-out',
|
| + help='Path for output of all resources. This includes resources in '
|
| + 'dependencies.')
|
| +
|
| parser.add_option('--stamp', help='File to touch on success')
|
|
|
| (options, args) = parser.parse_args(args)
|
| @@ -242,6 +247,10 @@ def main():
|
|
|
| ZipResources(zip_resource_dirs, options.resource_zip_out)
|
|
|
| + if options.all_resources_zip_out:
|
| + ZipResources(
|
| + zip_resource_dirs + dep_subdirs, options.all_resources_zip_out)
|
| +
|
| if options.R_dir:
|
| build_utils.DeleteDirectory(options.R_dir)
|
| shutil.copytree(gen_dir, options.R_dir)
|
|
|