| # 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/sdk/sdk.gni") |
| import("//build/sdk/sdk_atom.gni") |
| |
| # A minimal target to exercise the `sdk_atom` template. |
| sdk_atom("sdk_atom_unittest") { |
| testonly = true |
| |
| id = "sdk://pkg/sdk_atom_unittest" |
| category = "excluded" |
| files = [ |
| { |
| source = "empty_file" |
| dest = "empty_file" |
| }, |
| ] |
| meta = { |
| dest = "meta.json" |
| schema = "common" |
| value = "" |
| } |
| } |
| |
| # A minimal target to exercise the `sdk` template. |
| sdk("sdk_unittest") { |
| testonly = true |
| |
| category = "excluded" |
| deps = [ ":sdk_atom_unittest" ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ |
| ":sdk_unittest", |
| ":sdk_unittest_export", |
| ] |
| } |