From 950337202ab3baf581e6f7effb67c29e28369a21 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Thu, 13 Jun 2019 12:22:02 -0700 Subject: [PATCH] Only build embedder unit tests for host builds Linux target builds for non-x86/x64 platforms were failing due to the dependency on SwiftShader --- shell/platform/embedder/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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