Index: build/config/android/BUILD.gn |
diff --git a/build/config/android/BUILD.gn b/build/config/android/BUILD.gn |
index 0cc38b7e3c83c64260c72bf33c37943535db9bae..5492693f560fc02885b96524070503f9e7f0cf07 100644 |
--- a/build/config/android/BUILD.gn |
+++ b/build/config/android/BUILD.gn |
@@ -25,3 +25,8 @@ config("executable_config") { |
cflags = [ "-fPIE" ] |
ldflags = [ "-pie" ] |
} |
+ |
+config("hide_native_jni_exports") { |
+ ldflags = [ "-Wl,--version-script=" + |
+ rebase_path("//build/android/android_no_jni_exports.lst") ] |
+} |