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 visibility = "//third_party/WebKit/Source/*" | 5 visibility = "//third_party/WebKit/Source/*" |
6 | 6 |
7 source_set("heap") { | 7 source_set("heap") { |
8 sources = [ | 8 sources = [ |
9 "AddressSanitizer.h", | 9 "AddressSanitizer.h", |
| 10 "Handle.cpp", |
10 "Handle.h", | 11 "Handle.h", |
11 "Heap.cpp", | 12 "Heap.cpp", |
12 "Heap.h", | 13 "Heap.h", |
13 "ThreadState.cpp", | 14 "ThreadState.cpp", |
14 "ThreadState.h", | 15 "ThreadState.h", |
15 "Visitor.cpp", | 16 "Visitor.cpp", |
16 "Visitor.h", | 17 "Visitor.h", |
17 ] | 18 ] |
18 if (cpu_arch == "x86" || cpu_arch == "x64") { | 19 if (cpu_arch == "x86" || cpu_arch == "x64") { |
19 sources += [ "asm/SaveRegisters_x86.asm" ] | 20 sources += [ "asm/SaveRegisters_x86.asm" ] |
20 } else if (cpu_arch == "arm") { | 21 } else if (cpu_arch == "arm") { |
21 sources += [ "asm/SaveRegisters_arm.S" ] | 22 sources += [ "asm/SaveRegisters_arm.S" ] |
22 } else if (cpu_arch == "arm64") { | 23 } else if (cpu_arch == "arm64") { |
23 sources += [ "asm/SaveRegisters_arm64.S" ] | 24 sources += [ "asm/SaveRegisters_arm64.S" ] |
24 } else if (cpu_arch == "mipsel") { | 25 } else if (cpu_arch == "mipsel") { |
25 sources += [ "asm/SaveRegisters_mips.S" ] | 26 sources += [ "asm/SaveRegisters_mips.S" ] |
26 } | 27 } |
27 | 28 |
28 configs += [ "//third_party/WebKit/Source:config" ] | 29 configs += [ "//third_party/WebKit/Source:config" ] |
29 | 30 |
30 deps = [ | 31 deps = [ |
31 "//third_party/icu", | 32 "//third_party/icu", |
32 ] | 33 ] |
33 } | 34 } |
OLD | NEW |