Index: base/test/BUILD.gn |
diff --git a/base/test/BUILD.gn b/base/test/BUILD.gn |
index 256cae257f3d2e5fab0919c638b0046a9465fc21..85f2dad357fbdc12008d23dcfe0a03cc38356f57 100644 |
--- a/base/test/BUILD.gn |
+++ b/base/test/BUILD.gn |
@@ -312,7 +312,7 @@ static_library("run_all_base_unittests") { |
] |
} |
-if (is_linux) { |
+if (is_linux && is_component_build) { |
shared_library("malloc_wrapper") { |
testonly = true |
sources = [ |