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 c2dee9a515646d5454d0c0566dc8bf417e8ea092..63a8ee80eda661723b150f3b42d74bedc0323700 100755 |
--- a/build/android/gyp/write_build_config.py |
+++ b/build/android/gyp/write_build_config.py |
@@ -305,6 +305,8 @@ def main(argv): |
parser.add_option('--secondary-abi-shared-libraries-runtime-deps', |
help='Path to file containing runtime deps for secondary ' |
'abi shared libraries.') |
+ parser.add_option('--enable-relocation-packing', |
+ help='Whether relocation packing is enabled.') |
# apk options |
parser.add_option('--apk-path', help='Path to the target\'s apk output.') |
@@ -472,6 +474,7 @@ def main(argv): |
deps_info['incremental_apk_path'] = options.incremental_apk_path |
deps_info['incremental_install_script_path'] = ( |
options.incremental_install_script_path) |
+ deps_info['enable_relocation_packing'] = options.enable_relocation_packing |
if options.type in ('java_binary', 'java_library', 'android_apk', 'dist_jar'): |
# Classpath values filled in below (after applying tested_apk_config). |