Index: build/config/android/BUILD.gn |
diff --git a/build/config/android/BUILD.gn b/build/config/android/BUILD.gn |
index 185db596f46c8fe9344e70a9fd6dc2a84434ba78..f040a8bc09b7d6b9fe6a23a49adc1d59b4a6c3c7 100644 |
--- a/build/config/android/BUILD.gn |
+++ b/build/config/android/BUILD.gn |
@@ -18,3 +18,8 @@ config("sdk") { |
] |
} |
} |
+ |
+# Don't export symbols from statically linked libraries. |
+config("no_export_static_lib_symbols") { |
+ ldflags = [ "-Wl,--exclude-libs=ALL" ] |
+} |