Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / heap / BUILD.gn
index 3016d9b..af6c451 100644 (file)
@@ -2,11 +2,13 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-visibility = "//third_party/WebKit/Source/*"
+visibility = [ "//third_party/WebKit/Source/*" ]
 
 source_set("heap") {
   sources = [
     "AddressSanitizer.h",
+    "CallbackStack.cpp",
+    "CallbackStack.h",
     "Handle.h",
     "Heap.cpp",
     "Heap.h",
@@ -15,19 +17,11 @@ source_set("heap") {
     "Visitor.cpp",
     "Visitor.h",
   ]
-  if (cpu_arch == "x86" || cpu_arch == "x64") {
-    sources += [ "asm/SaveRegisters_x86.asm" ]
-  } else if (cpu_arch == "arm") {
-    sources += [ "asm/SaveRegisters_arm.S" ]
-  } else if (cpu_arch == "arm64") {
-    sources += [ "asm/SaveRegisters_arm64.S" ]
-  } else if (cpu_arch == "mipsel") {
-    sources += [ "asm/SaveRegisters_mips.S" ]
-  }
 
   configs += [ "//third_party/WebKit/Source:config" ]
 
   deps = [
+    "//third_party/WebKit/Source/platform/heap/asm",
     "//third_party/icu",
   ]
 }