| # 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("tests") { |
| testonly = true |
| deps = [ ":sysconfig-sync-client-test-package" ] |
| } |
| |
| test("sysconfig-sync-client-test") { |
| sources = [ "sync-client-test.cc" ] |
| include_dirs = [ ".." ] |
| deps = [ |
| "//sdk/fidl/fuchsia.hardware.nand:fuchsia.hardware.nand_cpp", |
| "//src/storage/lib/ramdevice_client/cpp:ramdevice-client-test", |
| "//zircon/system/ulib/async-default", |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/fdio-caller", |
| "//zircon/system/ulib/inspector", |
| "//zircon/system/ulib/sysconfig-client:sysconfig-sync-client", |
| "//zircon/system/ulib/trace-engine", |
| "//zircon/system/ulib/zxtest", |
| ] |
| } |
| |
| fuchsia_unittest_package("sysconfig-sync-client-test-package") { |
| package_name = "sysconfig-sync-client-test" |
| deps = [ |
| ":sysconfig-sync-client-test", |
| "//src/devices/board/drivers/integration-test", |
| "//src/devices/bus/drivers/platform", |
| "//src/devices/nand/drivers/nand", |
| "//src/devices/nand/drivers/nandpart", |
| "//src/devices/nand/drivers/ram-nand", |
| "//src/devices/nand/drivers/skip-block", |
| ] |
| } |