diff --git a/shell/platform/embedder/BUILD.gn b/shell/platform/embedder/BUILD.gn index a068a2b18f652..a1cca30f46ea7 100644 --- a/shell/platform/embedder/BUILD.gn +++ b/shell/platform/embedder/BUILD.gn @@ -60,7 +60,7 @@ test_fixtures("fixtures") { dart_main = "fixtures/main.dart" } -if (is_mac || is_linux || is_win) { +if (current_toolchain == host_toolchain) { executable("embedder_unittests") { testonly = true