diff --git a/src/base/BUILD.gn b/src/base/BUILD.gn index d42e60f7d5..9db406d3a7 100644 --- a/src/base/BUILD.gn +++ b/src/base/BUILD.gn @@ -1493,7 +1493,7 @@ mixed_component("base") { # building inside the cros_sdk environment - use host_toolchain as a # more robust check for this. if (!use_sysroot && - (is_android || ((is_linux || is_chromeos) && !is_chromecast)) && + (is_linux || is_chromeos) && !is_chromecast && host_toolchain != "//build/toolchain/cros:host") { libs += [ "atomic" ] }