blob: 5c43b30a3aaccb46677f6ef9b666d3a79293fb80 [file]
# 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_atom.gni")
import("//build/sdk/sdk_collection.gni")
# A minimal target to exercise the `sdk_atom` template.
sdk_atom("sdk_atom_unittest") {
testonly = true
id = "sdk://pkg/sdk_atom_unittest"
category = "partner"
files = [
{
source = "empty_file"
dest = "empty_file"
},
]
meta = {
dest = "meta.json"
type = "data"
value = {
type = "config"
name = target_name
data = [ "foo.bar" ]
}
}
}
# A minimal target to exercise the `sdk_collection` template.
sdk_collection("sdk_collection_unittest") {
testonly = true
category = "partner"
deps = [ ":sdk_atom_unittest" ]
}
group("tests") {
testonly = true
deps = [ ":sdk_collection_unittest" ]
}