| # 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("$zx/public/gn/config/standard.gni") |
| import("$zx/public/gn/toolchain/select_toolchain.gni") |
| |
| # $zx/public/bin:$cpu is a target to build all user app binaries for $cpu. |
| foreach(cpu, standard_fuchsia_cpus) { |
| select_toolchain(cpu) { |
| testonly = true |
| cpu = target_name |
| environment_label = "$zx/public/gn/toolchain:user" |
| deps = [ |
| "$zx/system/uapp", |
| "$zx/third_party/uapp", |
| |
| # TODO: top-level $zx/test? |
| "$zx/system/utest", |
| ] |
| } |
| } |