blob: 79a45d46f0445bc8d54243ba9ae617e52baccd25 [file] [log] [blame]
# Copyright 2020 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/dart/test.gni")
import("//build/testing/environments.gni")
dart_test("snapshot_test") {
sources = [ "snapshot_test.dart" ]
deps = [
"//sdk/testing/sl4f/client",
"//third_party/dart-pkg/pub/test",
]
# Runs on "main" builders (try and ci) in QEMU environments, but only on x64,
# as we don't currently support Dart on arm64 hosts.
environments = []
if (is_host && target_cpu == "x64") {
environments = [ emu_env ]
}
}
group("tests") {
testonly = true
deps = [ ":snapshot_test($host_toolchain)" ]
}