blob: ad9427e0bad2732e69f390dec2949dbed650d7a8 [file] [log] [blame]
# 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/config/fuchsia/zircon_images.gni")
import("//build/package.gni")
zircon_extras_manifest("zircon-test-manifest") {
manifest = "tests"
patterns = [ "*" ]
}
package("zircon_tests") {
deprecated_system_image = true
deps = [
":zircon-test-manifest",
]
extra = get_target_outputs(":zircon-test-manifest")
}
zircon_extras_manifest("zircon-fuzzers-manifest") {
manifest = "tests"
patterns = [
"bin/*-fuzzer.*",
"meta/*-fuzzer.*.cmx",
]
}
package("zircon_fuzzers") {
deps = [
":zircon-fuzzers-manifest",
]
extra = get_target_outputs(":zircon-fuzzers-manifest")
metadata = {
fuzz_spec = [
{
fuzzers_package = target_name
fuzzers =
read_file("$zircon_root_build_dir/legacy_fuzzers-$target_cpu.json",
"json")
fuzz_host = false
},
]
}
}