blob: 681605b1cc726501ac9d381839580e535c60272c [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/package.gni")
import("//build/package/component.gni")
import("//build/test/test_package.gni")
import("//build/testing/environments.gni")
executable("bin") {
output_name = "inspect_unittests"
testonly = true
sources = [
"children_manager_unittest.cc",
"expose_unittest.cc",
"hierarchy_unittest.cc",
"inspect_fidl_unittest.cc",
"inspect_vmo_unittest.cc",
"reader_unittest.cc",
"vmo_reader_unittest.cc",
]
deps = [
"//src/lib/callback",
"//src/lib/fxl",
"//zircon/public/lib/async-cpp",
"//zircon/public/lib/inspect",
]
public_deps = [
"//garnet/public/lib/gtest",
"//sdk/lib/sys/cpp",
"//sdk/lib/vfs/cpp",
"//src/lib/fxl/test:gtest_main",
"//src/lib/inspect_deprecated",
"//src/lib/inspect_deprecated:reader",
"//src/lib/inspect_deprecated/testing",
"//third_party/googletest:gmock",
"//zircon/public/lib/async-loop-cpp",
"//zircon/public/lib/async-loop-default",
]
libs = [ "zircon" ]
}
test_package("inspect_unittests") {
deps = [ ":bin" ]
tests = [
{
name = "inspect_unittests"
environments = basic_envs
},
]
}