From 59d1366c91a402e4768385cce5b252736efd46a4 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Wed, 18 Apr 2018 16:28:24 -0700 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20build=20the=20host=20shell=20on?= =?UTF-8?q?=20target=20builds.=20(#5042)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BUILD.gn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index b37b0b8d4054c..6560972bc58a5 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -10,10 +10,13 @@ group("flutter") { public_deps = [ "$flutter_root/lib/snapshot:generate_snapshot_bin", "$flutter_root/lib/snapshot:kernel_platform_files", - "$flutter_root/shell/testing", "$flutter_root/sky", ] + if (current_toolchain == host_toolchain) { + public_deps += [ "$flutter_root/shell/testing" ] + } + if (flutter_runtime_mode != "debug") { public_deps += [ "$flutter_root/lib/snapshot:entry_points_json_files" ] }