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 == "x86" || current_cpu == "x64") { | 5 if (current_cpu == "x86" || current_cpu == "x64") { |
6 import("//third_party/yasm/yasm_assemble.gni") | 6 import("//third_party/yasm/yasm_assemble.gni") |
7 | 7 |
8 yasm_assemble("asm") { | 8 yasm_assemble("asm") { |
9 assert(current_cpu == "x86" || current_cpu == "x64") | 9 assert(current_cpu == "x86" || current_cpu == "x64") |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 "SaveRegisters_arm.S", | 35 "SaveRegisters_arm.S", |
36 ] | 36 ] |
37 } else if (current_cpu == "arm64") { | 37 } else if (current_cpu == "arm64") { |
38 sources = [ | 38 sources = [ |
39 "SaveRegisters_arm64.S", | 39 "SaveRegisters_arm64.S", |
40 ] | 40 ] |
41 } else if (current_cpu == "mipsel") { | 41 } else if (current_cpu == "mipsel") { |
42 sources = [ | 42 sources = [ |
43 "SaveRegisters_mips.S", | 43 "SaveRegisters_mips.S", |
44 ] | 44 ] |
| 45 } else if (current_cpu == "mips64el") { |
| 46 sources = [ |
| 47 "SaveRegisters_mips64.S", |
| 48 ] |
45 } | 49 } |
46 | 50 |
47 if (current_cpu == "arm") { | 51 if (current_cpu == "arm") { |
48 defines = [ "ARM=1" ] | 52 defines = [ "ARM=1" ] |
49 } | 53 } |
50 } | 54 } |
51 } # current_cpu == "x86" || current_cpu == "x64" | 55 } # current_cpu == "x86" || current_cpu == "x64" |
OLD | NEW |