| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 if (cpu_arch == "arm") { | 5 if (current_cpu == "arm") { |
| 6 declare_args() { | 6 declare_args() { |
| 7 # Version of the ARM processor when compiling on ARM. Ignored on non-ARM | 7 # Version of the ARM processor when compiling on ARM. Ignored on non-ARM |
| 8 # platforms. | 8 # platforms. |
| 9 arm_version = 7 | 9 arm_version = 7 |
| 10 | 10 |
| 11 # The ARM floating point mode. This is either the string "hard", "soft", or | 11 # The ARM floating point mode. This is either the string "hard", "soft", or |
| 12 # "softfp". An empty string means to use the default one for the | 12 # "softfp". An empty string means to use the default one for the |
| 13 # arm_version. | 13 # arm_version. |
| 14 arm_float_abi = "" | 14 arm_float_abi = "" |
| 15 | 15 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 | 58 |
| 59 arm_use_thumb = true | 59 arm_use_thumb = true |
| 60 | 60 |
| 61 if (arm_use_neon) { | 61 if (arm_use_neon) { |
| 62 arm_fpu = "neon" | 62 arm_fpu = "neon" |
| 63 } else { | 63 } else { |
| 64 arm_fpu = "vfpv3-d16" | 64 arm_fpu = "vfpv3-d16" |
| 65 } | 65 } |
| 66 } | 66 } |
| 67 } | 67 } |
| OLD | NEW |