Index: gn/BUILD.gn |
diff --git a/gn/BUILD.gn b/gn/BUILD.gn |
index 547f57ebea9202a5bf9dcd43457c8e07b580c42d..71a8259257b83b689e3d42379a0f64a94f84bf8c 100644 |
--- a/gn/BUILD.gn |
+++ b/gn/BUILD.gn |
@@ -14,6 +14,7 @@ config("default") { |
"-g", |
"-fstrict-aliasing", |
"-fPIC", |
+ "-fvisibility=hidden", |
"-Werror", |
"-Wall", |
@@ -31,6 +32,7 @@ config("default") { |
"-fno-exceptions", |
"-fno-rtti", |
"-fno-threadsafe-statics", |
+ "-fvisibility-inlines-hidden", |
"-Wnon-virtual-dtor", |
] |