Index: android_webview/BUILD.gn |
diff --git a/android_webview/BUILD.gn b/android_webview/BUILD.gn |
index 1f47b9a9fd8d4703ea778a562d30f82e0eccede1..eb0dca605534a060ce46cfb4e40b6f48dc1ebe6b 100644 |
--- a/android_webview/BUILD.gn |
+++ b/android_webview/BUILD.gn |
@@ -312,7 +312,8 @@ shared_library("libwebviewchromium") { |
deps = [ |
":webview_entry_point", |
] |
- configs -= [ "//build/config/android:hide_native_jni_exports" ] |
+ configs -= [ "//build/config/android:hide_all_but_jni_onload" ] |
+ configs += [ "//build/config/android:hide_all_but_jni" ] |
} |
if (android_64bit_target_cpu) { |
@@ -334,7 +335,8 @@ if (android_64bit_target_cpu) { |
deps = [ |
":webview_entry_point", |
] |
- configs -= [ "//build/config/android:hide_native_jni_exports" ] |
+ configs -= [ "//build/config/android:hide_all_but_jni_onload" ] |
+ configs += [ "//build/config/android:hide_all_but_jni" ] |
} |
} |