Index: build/java_apk.gypi |
diff --git a/build/java_apk.gypi b/build/java_apk.gypi |
index 9465279437a7d445c571c8d01fb37cc00cfcd66f..d22cfe145979efb13daef269c9f010b6d794d926 100644 |
--- a/build/java_apk.gypi |
+++ b/build/java_apk.gypi |
@@ -403,6 +403,11 @@ |
'conditions': [ |
['gyp_managed_install == 1', { |
'variables': { |
+ # This "library" just needs to be put in the .apk. It is not loaded |
+ # at runtime. |
+ 'placeholder_native_library_path': |
+ '<(apk_package_native_libs_dir)/<(android_app_abi)/libfix.crbug.384638.so', |
+ 'package_input_paths': [ '<(placeholder_native_library_path)' ], |
'libraries_top_dir': '<(intermediate_dir)/lib.stripped', |
'libraries_source_dir': '<(libraries_top_dir)/lib/<(android_app_abi)', |
'device_library_dir': '<(device_intermediate_dir)/lib.stripped', |
@@ -416,6 +421,19 @@ |
'includes': ['../build/android/push_libraries.gypi'], |
}, |
{ |
+ 'action_name': 'create placeholder lib', |
+ 'inputs': [ |
+ '<(DEPTH)/build/android/gyp/touch.py', |
+ ], |
+ 'outputs': [ |
+ '<(placeholder_native_library_path)', |
+ ], |
+ 'action' : [ |
+ 'python', '<(DEPTH)/build/android/gyp/touch.py', |
+ '<@(_outputs)', |
+ ], |
+ }, |
+ { |
'action_name': 'create device library symlinks', |
'message': 'Creating links on device for <(_target_name)', |
'inputs': [ |