Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1223)

Unified Diff: Source/platform/BUILD.gn

Issue 541933003: GN: Update heap stubs for android (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix paths Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/platform/heap/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
« no previous file with comments | « no previous file | Source/platform/heap/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698