• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2022 The Chromium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5# The compiler for the trusted nacl_helper_bootstrap binary.
6nacl_bootstrap_compiler = "g++"
7if (default_toolchain == "//build/toolchain/cros:target") {
8  import("//build/toolchain/cros_toolchain.gni")
9  if (target_cpu == "arm64" && current_cpu == "arm") {
10    nacl_bootstrap_compiler = cros_nacl_helper_arm32_cxx
11  } else {
12    nacl_bootstrap_compiler = cros_target_cxx
13  }
14} else if (current_cpu == "arm" && !is_android) {
15  nacl_bootstrap_compiler = "arm-linux-gnueabihf-g++"
16} else if (current_cpu == "mipsel" && !is_android) {
17  nacl_bootstrap_compiler = "mipsel-linux-gnu-g++"
18}
19