Upstream version 8.37.180.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / heap / BUILD.gn
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
3 # found in the LICENSE file.
4
5 visibility = "//third_party/WebKit/Source/*"
6
7 source_set("heap") {
8   sources = [
9     "AddressSanitizer.h",
10     "Handle.h",
11     "Heap.cpp",
12     "Heap.h",
13     "ThreadState.cpp",
14     "ThreadState.h",
15     "Visitor.cpp",
16     "Visitor.h",
17   ]
18   if (cpu_arch == "x86" || cpu_arch == "x64") {
19     sources += [ "asm/SaveRegisters_x86.asm" ]
20   } else if (cpu_arch == "arm") {
21     sources += [ "asm/SaveRegisters_arm.S" ]
22   } else if (cpu_arch == "arm64") {
23     sources += [ "asm/SaveRegisters_arm64.S" ]
24   } else if (cpu_arch == "mipsel") {
25     sources += [ "asm/SaveRegisters_mips.S" ]
26   }
27
28   configs += [ "//third_party/WebKit/Source:config" ]
29
30   deps = [
31     "//third_party/icu",
32   ]
33 }