Index: build/config/android/BUILD.gn |
diff --git a/build/config/android/BUILD.gn b/build/config/android/BUILD.gn |
index 73c49f41f783ec0ab4c9647891735072598a1f07..2d789333645cecaccc3f02887dbe956d70422796 100644 |
--- a/build/config/android/BUILD.gn |
+++ b/build/config/android/BUILD.gn |
@@ -195,17 +195,14 @@ |
ldflags = [ "-pie" ] |
} |
-config("hide_native_jni_exports") { |
+config("hide_all_but_jni_onload") { |
+ ldflags = [ "-Wl,--version-script=" + rebase_path( |
+ "//build/android/android_only_explicit_jni_exports.lst") ] |
+} |
+ |
+config("hide_all_but_jni") { |
ldflags = [ "-Wl,--version-script=" + |
- rebase_path("//build/android/android_no_jni_exports.lst") ] |
-} |
- |
-config("hide_all_but_jni_onload") { |
- # TODO(agrieve): https://codereview.chromium.org/2633593004/ |
-} |
- |
-config("hide_all_but_jni") { |
- # TODO(agrieve): https://codereview.chromium.org/2633593004/ |
+ rebase_path("//build/android/android_only_jni_exports.lst") ] |
} |
# Instrumentation ------------------------------------------------------------- |