tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

host_toolchain.gni (863B)


      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 default_nacl_bootstrap_compiler = "g++"
      6 if (default_toolchain == "//chromium/build/toolchain/cros:target") {
      7   import("//chromium/build/toolchain/cros_toolchain.gni")
      8   if (target_cpu == "arm64" && target_cpu == "arm") {
      9     default_nacl_bootstrap_compiler = cros_nacl_helper_arm32_cxx
     10   } else {
     11     default_nacl_bootstrap_compiler = cros_target_cxx
     12   }
     13 } else if (target_cpu == "arm" && !is_android) {
     14   default_nacl_bootstrap_compiler = "arm-linux-gnueabihf-g++"
     15 } else if (target_cpu == "mipsel" && !is_android) {
     16   default_nacl_bootstrap_compiler = "mipsel-linux-gnu-g++"
     17 }
     18 
     19 declare_args() {
     20   # The compiler for the trusted nacl_helper_bootstrap binary.
     21   nacl_bootstrap_compiler = default_nacl_bootstrap_compiler
     22 }