# Copyright 2020 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.gni") | |
tests = read_file("$zircon_root_build_dir/zbi_tests.json", "json") | |
zircon_zbi_tests = [] | |
foreach(test, tests) { | |
if (test.cpu == target_cpu) { | |
zircon_zbi_tests += [ | |
{ | |
name = test.name | |
path = "$zircon_root_build_dir/${test.path}" | |
}, | |
] | |
} | |
} |