Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1156)

Unified Diff: build/config/android/BUILD.gn

Issue 2685933002: Revert of Android: Use linker script to hide all non-JNI symbols (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | chrome/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/android/BUILD.gn
diff --git a/build/config/android/BUILD.gn b/build/config/android/BUILD.gn
index 2d789333645cecaccc3f02887dbe956d70422796..73c49f41f783ec0ab4c9647891735072598a1f07 100644
--- a/build/config/android/BUILD.gn
+++ b/build/config/android/BUILD.gn
@@ -195,14 +195,17 @@
ldflags = [ "-pie" ]
}
+config("hide_native_jni_exports") {
+ ldflags = [ "-Wl,--version-script=" +
+ rebase_path("//build/android/android_no_jni_exports.lst") ]
+}
+
config("hide_all_but_jni_onload") {
- ldflags = [ "-Wl,--version-script=" + rebase_path(
- "//build/android/android_only_explicit_jni_exports.lst") ]
+ # TODO(agrieve): https://codereview.chromium.org/2633593004/
}
config("hide_all_but_jni") {
- ldflags = [ "-Wl,--version-script=" +
- rebase_path("//build/android/android_only_jni_exports.lst") ]
+ # TODO(agrieve): https://codereview.chromium.org/2633593004/
}
# Instrumentation -------------------------------------------------------------
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | chrome/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698