Index: build/android/pack_arm_relocations.gypi |
diff --git a/build/android/pack_arm_relocations.gypi b/build/android/pack_arm_relocations.gypi |
index e982527b4ce8bed401bffe6e05eae53cdecad851..5df1d7e422e3b3b062d0ef673c6c97586de2d65f 100644 |
--- a/build/android/pack_arm_relocations.gypi |
+++ b/build/android/pack_arm_relocations.gypi |
@@ -25,6 +25,13 @@ |
{ |
'variables': { |
'input_paths': [], |
+ 'conditions': [ |
+ ['target_arch == "arm64"', { |
+ 'has_relocations_with_addends': 1, |
+ }, { |
+ 'has_relocations_with_addends': 0, |
+ }], |
+ ], |
}, |
'inputs': [ |
'<(DEPTH)/build/android/gyp/util/build_utils.py', |
@@ -48,6 +55,7 @@ |
'python', '<(DEPTH)/build/android/gyp/pack_arm_relocations.py', |
'--configuration-name=<(CONFIGURATION_NAME)', |
'--enable-packing=1', |
+ '--has-relocations-with-addends=<(has_relocations_with_addends)', |
'--exclude-packing-list=<@(exclude_packing_list)', |
'--android-pack-relocations=<(PRODUCT_DIR)/relocation_packer', |
'--android-objcopy=<(android_objcopy)', |