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 (current_cpu == "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 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 } | 66 } |
67 | 67 |
68 arm_use_thumb = true | 68 arm_use_thumb = true |
69 | 69 |
70 if (arm_use_neon) { | 70 if (arm_use_neon) { |
71 arm_fpu = "neon" | 71 arm_fpu = "neon" |
72 } else { | 72 } else { |
73 arm_fpu = "vfpv3-d16" | 73 arm_fpu = "vfpv3-d16" |
74 } | 74 } |
75 } | 75 } |
| 76 } else if (current_cpu == "arm64") { |
| 77 # arm64 supports only "hard". |
| 78 arm_float_abi = "hard" |
76 } | 79 } |
OLD | NEW |