| # Copyright 2023 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/toolchain/clang_toolchain_suite.gni") |
| |
| foreach(arch, |
| [ |
| "x64", |
| "arm", |
| "arm64", |
| "riscv64", |
| ]) { |
| clang_toolchain_suite("bionic_${arch}") { |
| toolchain_cpu = "${arch}" |
| toolchain_os = "linux" |
| use_strip = true |
| |
| remove_common_configs = [ |
| "//build/config:compiler", |
| "//build/config/linux:compiler", |
| ] |
| prefix_configs = [ |
| "//build/config/linux:target", |
| "//src/starnix/toolchain/config:bionic", |
| ] |
| } |
| } |