Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2156)

Unified Diff: build/android/gyp/process_resources.py

Issue 379333003: Add beginnings of android_apk and unittest_apk templates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-filearg
Patch Set: Rebase Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/gyp/jar_toc.py ('k') | build/android/gyp/write_build_config.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/process_resources.py
diff --git a/build/android/gyp/process_resources.py b/build/android/gyp/process_resources.py
index f368d0d6c6009f3fee4a99ee2bb0696c50706ec4..0fe02dfa84877a41a354526da0eaf635ecf3774b 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)
« no previous file with comments | « build/android/gyp/jar_toc.py ('k') | build/android/gyp/write_build_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698