Index: build/java_apk.gypi |
diff --git a/build/java_apk.gypi b/build/java_apk.gypi |
index f32385323dfd94f30743eb93feee0e393ce40df2..27754533db4429947d62d62dad4b732f360b9754 100644 |
--- a/build/java_apk.gypi |
+++ b/build/java_apk.gypi |
@@ -173,6 +173,8 @@ |
'unsigned_standalone_apk_path': '<(unsigned_standalone_apk_path)', |
'libchromium_android_linker': 'libchromium_android_linker.>(android_product_extension)', |
'extra_native_libs': [], |
+ 'native_lib_placeholder_stamp': '<(apk_package_native_libs_dir)/<(android_app_abi)/native_lib_placeholder.stamp', |
+ 'native_lib_placeholders': [], |
}, |
# Pass the jar path to the apk's "fake" jar target. This would be better as |
# direct_dependent_settings, but a variable set by a direct_dependent_settings |
@@ -384,6 +386,21 @@ |
}, |
'includes': ['../build/android/strip_native_libraries.gypi'], |
}, |
+ { |
+ 'action_name': 'Create native lib placeholder files for previous releases', |
+ 'inputs': [ |
+ '<(DEPTH)/build/android/gyp/create_placeholder_files.py', |
+ ], |
+ 'outputs': [ |
+ '<(native_lib_placeholder_stamp)', |
+ ], |
+ 'action': [ |
+ 'python', '<(DEPTH)/build/android/gyp/create_placeholder_files.py', |
+ '--dest-lib-dir=<(apk_package_native_libs_dir)/<(android_app_abi)/', |
+ '--stamp=<(native_lib_placeholder_stamp)', |
+ '<@(native_lib_placeholders)', |
+ ], |
+ }, |
], |
'conditions': [ |
['gyp_managed_install == 1', { |