| # 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/host.gni") |
| import("//build/testing/environments.gni") |
| |
| dart_test("harvester_test") { |
| sources = [ "harvester_test.dart" ] |
| deps = [ |
| "//sdk/testing/sl4f/client", |
| "//third_party/dart-pkg/pub/test", |
| ] |
| environments = [] |
| if (is_host && target_cpu == "x64") { |
| # Required for SL4F. |
| environments = [ emu_env ] |
| } |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":harvester_test($host_toolchain)" ] |
| } |