Index: build/secondary/third_party/nss/BUILD.gn |
diff --git a/build/secondary/third_party/nss/BUILD.gn b/build/secondary/third_party/nss/BUILD.gn |
index 5484c675bf5d2d6746c63cf2e18cef7ea800f9d0..c2648f44ea2d4356430adcd887590e81e42aecd1 100644 |
--- a/build/secondary/third_party/nss/BUILD.gn |
+++ b/build/secondary/third_party/nss/BUILD.gn |
@@ -31,7 +31,7 @@ if (is_linux) { |
"nspr/lib/libc/include", |
] |
- if (component_mode != "shared_library") { |
+ if (!is_component_build) { |
defines += [ "NSPR_STATIC" ] |
} |
} |
@@ -355,7 +355,7 @@ if (is_linux) { |
public_deps += [ ":nssckbi" ] |
} |
- if (component_mode == "shared_library") { |
+ if (is_component_build) { |
if (is_mac) { |
ldflags = [ "-all_load" ] |
} else if (is_win) { |