Index: net/third_party/nss/ssl/BUILD.gn |
diff --git a/net/third_party/nss/ssl/BUILD.gn b/net/third_party/nss/ssl/BUILD.gn |
index d8f796122b51e8ced044958f21af49e30b0f99e9..ee4449a187b173ad2e3410b822320dcbabf9d67f 100644 |
--- a/net/third_party/nss/ssl/BUILD.gn |
+++ b/net/third_party/nss/ssl/BUILD.gn |
@@ -74,11 +74,11 @@ component("libssl") { |
"unix_err.c", |
"unix_err.h", |
] |
- if (component_mode == "shared_library") { |
+ if (is_component_build) { |
ldflags = [ "/DEF:" + rebase_path("exports_win.def", root_build_dir) ] |
} |
} else if (is_linux) { |
- if (component_mode == "shared_library") { |
+ if (is_component_build) { |
configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] |
} |