| # Copyright 2021 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 = [ ":fuchsia-mem-ext-test-package" ] |
| } |
| |
| test("fuchsia-mem-ext-test") { |
| sources = [ "fuchsia-mem-ext-tests.cc" ] |
| |
| deps = [ |
| "//sdk/lib/fuchsia-mem-ext", |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/zxtest", |
| ] |
| } |
| |
| fuchsia_unittest_component("fuchsia-mem-ext-test-component") { |
| deps = [ ":fuchsia-mem-ext-test" ] |
| } |
| |
| fuchsia_test_package("fuchsia-mem-ext-test-package") { |
| test_components = [ ":fuchsia-mem-ext-test-component" ] |
| } |