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