| # Copyright 2021 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") |
| |
| dart_test("bt_a2dp_e2e_test") { |
| sources = [ "bt_a2dp_test.dart" ] |
| deps = [ |
| "//sdk/testing/sl4f/client", |
| "//third_party/dart-pkg/pub/logging", |
| "//third_party/dart-pkg/pub/test", |
| ] |
| |
| non_dart_deps = [ ":runtime_deps($host_toolchain)" ] |
| environments = [ |
| # Runs on "main" builders (try and ci) in several |
| # environments. |
| { |
| dimensions = { |
| device_type = "Astro" |
| } |
| }, |
| ] |
| } |
| |
| if (is_host) { |
| host_test_data("runtime_deps") { |
| _data_dir = "$target_gen_dir/runtime_deps" |
| sources = [ "$root_out_dir/trace2json" ] |
| outputs = [ "$_data_dir/{{source_file_part}}" ] |
| deps = [ "//garnet/bin/trace2json:bin" ] |
| } |
| } |
| |
| group("test") { |
| testonly = true |
| deps = [ ":bt_a2dp_e2e_test($host_toolchain)" ] |
| } |