Use dart_host_toolchain when building host binaries that depend on Dart

This commit is contained in:
Chinmay Garde 2015-11-18 12:15:45 -08:00
parent cd3d2d2767
commit 72987952e4

View File

@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//sky/engine/bindings/bindings.gni")
group("sky") {
testonly = true
@ -10,9 +12,12 @@ group("sky") {
"//sky/engine/wtf:unittests($host_toolchain)",
"//sky/packages",
"//sky/shell",
"//sky/tools/sky_snapshot($host_toolchain)",
]
if (dart_host_toolchain == host_toolchain) {
deps += [ "//sky/tools/sky_snapshot($dart_host_toolchain)" ]
}
if (is_linux || is_android) {
deps += [ "//sky/shell/platform/mojo" ]
}