| # 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/components.gni") |
| import("//build/test.gni") |
| |
| group("test") { |
| testonly = true |
| deps = [ ":fastboot-test-package" ] |
| } |
| |
| test("fastboot-test") { |
| sources = [ |
| "fastboot-test.cc", |
| "payload-streamer-test.cc", |
| ] |
| include_dirs = [ |
| "..", |
| "../include", |
| ] |
| deps = [ |
| "..:lib", |
| "//sdk/fidl/fuchsia.boot:fuchsia.boot_llcpp", |
| "//sdk/fidl/fuchsia.hardware.power.statecontrol:fuchsia.hardware.power.statecontrol_llcpp", |
| "//src/lib/fxl", |
| "//src/lib/storage/vfs/cpp", |
| "//src/storage/testing:fake-paver", |
| "//zircon/system/ulib/async-default", |
| "//zircon/system/ulib/async-loop:async-loop-cpp", |
| "//zircon/system/ulib/async-loop:async-loop-default", |
| "//zircon/system/ulib/zx", |
| "//zircon/system/ulib/zxtest", |
| ] |
| } |
| |
| fuchsia_unittest_package("fastboot-test-package") { |
| package_name = "fastboot-test" |
| deps = [ ":fastboot-test" ] |
| } |