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

Unified Diff: gpu/BUILD.gn

Issue 2633593004: Android: Use linker script to hide all non-JNI symbols (Closed)
Patch Set: sub-repos now updated Created 3 years, 11 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 | « components/cronet/android/only_jni_exports.lst ('k') | testing/test.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/BUILD.gn
diff --git a/gpu/BUILD.gn b/gpu/BUILD.gn
index db9c0ec462ad34b6503a08594471cc662ffdc982..b8b82804cf83e2c317e6009a03eff3161bd49401 100644
--- a/gpu/BUILD.gn
+++ b/gpu/BUILD.gn
@@ -55,6 +55,9 @@ shared_library("command_buffer_gles2") {
"COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY",
"EGLAPIENTRY=",
]
+ if (is_android) {
+ configs -= [ "//build/config/android:hide_all_but_jni_onload" ]
+ }
if (current_os == "win") {
defines += [ "EGLAPI=__declspec(dllexport)" ]
} else {
« no previous file with comments | « components/cronet/android/only_jni_exports.lst ('k') | testing/test.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698