Index: build/android/gyp/write_build_config.py |
diff --git a/build/android/gyp/write_build_config.py b/build/android/gyp/write_build_config.py |
index ab70a79056bfedf5a6a3f6bc4eae1e5dfc4bf6a2..722d18cfa8bc9dd17d0e95eeffa8e04afc6749e6 100755 |
--- a/build/android/gyp/write_build_config.py |
+++ b/build/android/gyp/write_build_config.py |
@@ -171,6 +171,9 @@ def main(argv): |
config['resources'] = {} |
config['resources']['dependency_zips'] = [ |
c['resources_zip'] for c in all_resources_deps] |
+ config['resources']['extra_package_names'] = [] |
+ |
+ if options.type == 'android_apk': |
config['resources']['extra_package_names'] = [ |
c['package_name'] for c in all_resources_deps if 'package_name' in c] |