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