tor-browser

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

riscv.gni (1003B)


      1 # Copyright 2023 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 import("//chromium/build/config/v8_target_cpu.gni")
      6 
      7 if (target_cpu == "riscv64" || v8_target_cpu == "riscv64" ||
      8     target_cpu == "riscv32" || v8_target_cpu == "riscv32") {
      9   declare_args() {
     10     # RISCV Vector extension compilation flag.
     11     riscv_use_rvv = false
     12 
     13     # RISCV Vector extension VELEN. Possible values are:
     14     #   128
     15     #   256
     16     #   512
     17     #   1024
     18     riscv_rvv_vlen = 128
     19 
     20     # RISCV profile compilation flag. Possible values are:
     21     # rv64gc
     22     # rvau22
     23     riscv_profile = "rv64gc"
     24 
     25     # RISCV B extension compilation flag.
     26     # See https://github.com/riscv/riscv-bitmanip/blob/main/bitmanip/bitmanip.adoc#colophon
     27     riscv_use_zba = false
     28     riscv_use_zbb = false
     29     riscv_use_zbs = false
     30 
     31     # RISCV Svpbmt Standard Extension for Page-Based Memory Types
     32     # RISCV SV39 compilation flag.
     33     riscv_use_sv39 = false
     34   }
     35 }