| OLD | NEW |
| 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. |
| 6 if (cpu_arch == "mipsel") { | 6 if (cpu_arch == "mipsel") { |
| 7 declare_args() { | 7 declare_args() { |
| 8 mips_arch_variant = "r1" | 8 mips_arch_variant = "r1" |
| 9 } | 9 } |
| 10 } else if (cpu_arch == "mips64el") { | 10 } else if (cpu_arch == "mips64el") { |
| 11 if (is_android) { | 11 if (is_android) { |
| 12 declare_args() { | 12 declare_args() { |
| 13 mips_arch_variant = "r6" | 13 mips_arch_variant = "r6" |
| 14 } | 14 } |
| 15 } else { | 15 } else { |
| 16 declare_args() { | 16 declare_args() { |
| 17 mips_arch_variant = "r2" | 17 mips_arch_variant = "r2" |
| 18 } | 18 } |
| 19 } | 19 } |
| 20 } | 20 } |
| 21 |
| 22 # MIPS DSP ASE revision. Possible values are: |
| 23 # 0: unavailable |
| 24 # 1: revision 1 |
| 25 # 2: revision 2 |
| 26 # Default: 0. |
| 27 if (cpu_arch == "mipsel") { |
| 28 declare_args() { |
| 29 mips_dsp_rev = 0 |
| 30 } |
| 31 } |
| OLD | NEW |