| # 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/components.gni") |
| import("//build/test.gni") |
| |
| test("mock-function-test") { |
| output_name = "mock-function-test" |
| sources = [ "mock-function-test.cc" ] |
| deps = [ |
| "//sdk/lib/fdio", |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/mock-function", |
| "//zircon/system/ulib/zx", |
| "//zircon/system/ulib/zxtest", |
| ] |
| } |
| |
| fuchsia_unittest_package("mock-function-test-pkg") { |
| package_name = "mock-function-test" |
| deps = [ ":mock-function-test" ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":mock-function-test-pkg" ] |
| } |