Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Side by Side Diff: build/config/mips.gni

Issue 883253003: Add the mips_dsp_rev build variable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase after the GN cpu_arch => current_cpu renaming Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« build/common.gypi ('K') | « build/config/compiler/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # MIPS arch variant. 5 # MIPS arch variant. Possible values are:
6 # For mipsel:
7 # "r1"
8 # "r2"
9 # "r6"
10 # For mips64el:
11 # "r2"
12 # "r6"
6 if (current_cpu == "mipsel") { 13 if (current_cpu == "mipsel") {
7 declare_args() { 14 declare_args() {
8 mips_arch_variant = "r1" 15 mips_arch_variant = "r1"
9 } 16 }
10 } else if (current_cpu == "mips64el") { 17 } else if (current_cpu == "mips64el") {
11 if (is_android) { 18 if (is_android) {
12 declare_args() { 19 declare_args() {
13 mips_arch_variant = "r6" 20 mips_arch_variant = "r6"
14 } 21 }
15 } else { 22 } else {
16 declare_args() { 23 declare_args() {
17 mips_arch_variant = "r2" 24 mips_arch_variant = "r2"
18 } 25 }
19 } 26 }
20 } 27 }
28
29 if (current_cpu == "mipsel") {
30 declare_args() {
31 # MIPS DSP ASE revision. Possible values are:
32 # 0: unavailable
33 # 1: revision 1
34 # 2: revision 2
35 mips_dsp_rev = 0
36
37 # MIPS floating-point ABI. Possible values are:
38 # "hard"
39 # "soft"
40 mips_float_abi = "hard"
41
42 # MIPS32 floating-point register width. Possible values are:
43 # "fp32"
44 # "fp64"
45 # "fpxx"
46 mips_fpu_mode = "fp32"
47 }
48 }
OLDNEW
« build/common.gypi ('K') | « build/config/compiler/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698