mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Use dart_host_toolchain when building host binaries that depend on Dart
This commit is contained in:
parent
cd3d2d2767
commit
72987952e4
@ -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" ]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user