• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2023 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//build/config/v8_target_cpu.gni")
6
7if (current_cpu == "riscv64" || v8_current_cpu == "riscv64") {
8  declare_args() {
9    # RISCV Vector extension compilation flag.
10    riscv_use_rvv = false
11
12    # RISCV Vector extension VELEN. Possible values are:
13    #   128
14    #   256
15    #   512
16    #   1024
17    riscv_rvv_vlen = 128
18  }
19}
20