| 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 (current_cpu == "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 (current_cpu == "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 } |
| OLD | NEW |