blob: 4691f960584f4ba2ab664cad87149af6a57bf72f [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("//topaz/runtime/dart/dart_fuchsia_test.gni")
import("//topaz/runtime/dart_runner/dart_app.gni")
dart_app("bin") {
main_dart = "lib/main.dart"
fuchsia_package_name = "inspect_dart_codelab_part_2"
package_name = "inspect_dart_codelab_part_2_lib"
sources = [
"main.dart",
"reverser.dart",
]
meta = [
{
path = rebase_path("meta/inspect_dart_codelab_part_2.cmx")
dest = "inspect_dart_codelab_part_2.cmx"
},
]
deps = [
"//examples/diagnostics/inspect/codelab/fidl:fuchsia.examples.inspect",
"//sdk/fidl/fuchsia.sys",
"//topaz/public/dart/fidl",
# [START part_1_solution_build_dep]
"//topaz/public/dart/fuchsia_inspect",
# [END part_1_solution_build_dep]
"//third_party/dart-pkg/pub/meta",
"//topaz/public/dart/fuchsia_logger",
"//topaz/public/dart/fuchsia_services",
]
}
dart_test("inspect_dart_codelab_part_2_unittests") {
sources = [ "reverser_test.dart" ]
deps = [
":bin_dart_library",
"//third_party/dart-pkg/pub/test",
"//topaz/public/dart/fuchsia_inspect",
]
}
dart_fuchsia_test("inspect_dart_codelab_part_2_integration_tests") {
sources = [ "integration_test.dart" ]
meta = [
{
path =
rebase_path("meta/inspect_dart_codelab_part_2_integration_tests.cmx")
dest = "inspect_dart_codelab_part_2_integration_tests.cmx"
},
]
deps = [
":bin_dart_library",
"//examples/diagnostics/inspect/codelab/fidl:fuchsia.examples.inspect",
"//third_party/dart-pkg/pub/test",
"//topaz/public/dart/fuchsia_inspect/codelab/shared",
]
}