Index: Source/platform/BUILD.gn |
diff --git a/Source/platform/BUILD.gn b/Source/platform/BUILD.gn |
index e80d157d9554da818315b10e3de8884ce53a6c00..0fe3d4b6432adf949c1c7fbc998af0d3f00265e0 100644 |
--- a/Source/platform/BUILD.gn |
+++ b/Source/platform/BUILD.gn |
@@ -7,7 +7,6 @@ import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
import("//third_party/WebKit/Source/config.gni") |
import("//third_party/WebKit/Source/platform/platform.gni") |
import("//third_party/WebKit/Source/platform/platform_generated.gni") |
-import("//third_party/yasm/yasm_assemble.gni") |
# Most targets in this file are private actions so use that as the default. |
visibility = ":*" |
@@ -190,7 +189,6 @@ component("platform") { |
] |
deps = [ |
- ":heap_asm_stubs", |
":make_platform_generated", |
"//gpu/command_buffer/client:gles2_c_lib", |
"//skia", |
@@ -334,37 +332,6 @@ component("platform") { |
} |
} |
-yasm_assemble("heap_asm_stubs") { |
- if (cpu_arch == "x86" || cpu_arch == "x64") { |
- sources = [ "heap/asm/SaveRegisters_x86.asm" ] |
- } else if (cpu_arch == "arm") { |
- sources = [ "heap/asm/SaveRegisters_arm.S" ] |
- } else if (cpu_arch == "arm64") { |
- sources = [ "heap/asm/SaveRegisters_arm64.S" ] |
- } else if (cpu_arch == "mipsel") { |
- sources = [ "heap/asm/SaveRegisters_mips.S" ] |
- } |
- |
- yasm_flags = [] |
- if (is_mac) { |
- # Necessary to ensure symbols end up with a _ prefix; added by |
- # yasm_compile.gypi for Windows, but not Mac. |
- yasm_flags += [ "-DPREFIX" ] |
- } |
- if (cpu_arch == "x64") { |
- if (is_win) { |
- yasm_flags += [ "-DX64WIN=1" ] |
- } else { |
- yasm_flags += [ "-DX64POSIX=1" ] |
- } |
- } else if (cpu_arch == "x86") { |
- yasm_flags += [ "-DIA32=1" ] |
- } else if (cpu_arch == "arm") { |
- yasm_flags += [ "-DARM=1" ] |
- } |
-} |
- |
- |
test("heap_unittests") { |
visibility = "//third_party/WebKit/*" |
output_name = "blink_heap_unittests" |