blob: 60103fc188c9bf785a24964f6985d106fb0afc08 [file] [log] [blame]
# Copyright 2019 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/dart_library.gni")
import("//build/dart/test.gni")
dart_library("fuchsia_inspect") {
package_name = "fuchsia_inspect"
sdk_category = "partner"
source_dir = "lib"
sources = [
"inspect.dart",
"src/bitfield64.dart",
"src/block.dart",
"src/heap.dart",
"src/inspect.dart",
"src/node.dart",
"src/util.dart",
"src/vmo_fields.dart",
"src/vmo_holder.dart",
"src/vmo_writer.dart",
]
deps = [
"//third_party/dart-pkg/pub/meta",
"//topaz/public/dart/fuchsia_services",
"//topaz/public/dart/zircon",
]
}
# Runs these tests using:
# fx run-host-tests fuchsia_inspect_package_unittests
dart_test("fuchsia_inspect_package_unittests") {
sources = [
"bitfield64_test.dart",
"block_test.dart",
"heap_test.dart",
"inspect_test.dart",
"integration/writer.dart",
"node_test.dart",
"util.dart",
"vmo_fields_test.dart",
"vmo_writer_test.dart",
]
deps = [
":fuchsia_inspect",
"//third_party/dart-pkg/pub/mockito",
"//third_party/dart-pkg/pub/test",
]
}