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

Unified Diff: sky/engine/platform/BUILD.gn

Issue 678003003: Begin to remove heap/* (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « sky/engine/core/frame/ImageBitmapTest.cpp ('k') | sky/engine/platform/Supplementable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/BUILD.gn
diff --git a/sky/engine/platform/BUILD.gn b/sky/engine/platform/BUILD.gn
index d2424005fe16abdf044d0e43997002bed5e99f74..ddc680515fc6f1550ad4ede2fb48f8adbff559d4 100644
--- a/sky/engine/platform/BUILD.gn
+++ b/sky/engine/platform/BUILD.gn
@@ -160,8 +160,6 @@ component("platform") {
"SharedTimer.cpp",
"SharedTimer.h",
"Supplementable.h",
- "TaskSynchronizer.cpp",
- "TaskSynchronizer.h",
"ThreadTimers.cpp",
"ThreadTimers.h",
"Timer.cpp",
@@ -649,7 +647,6 @@ component("platform") {
]
deps = [
- ":heap_asm_stubs",
":make_platform_generated",
"//base:base",
"//gpu/command_buffer/client:gles2_c_lib",
@@ -720,48 +717,6 @@ component("platform") {
}
}
-if (cpu_arch == "x86" || cpu_arch == "x64") {
-
-import("//third_party/yasm/yasm_assemble.gni")
-
-yasm_assemble("heap_asm_stubs") {
- sources = [ "heap/asm/SaveRegisters_x86.asm" ]
-
- 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 { # cpu_arch == "x86" || cpu_arch == "x64"
-
-source_set("heap_asm_stubs") {
- 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" ]
- }
-
- if (cpu_arch == "arm") {
- defines = [ "ARM=1" ]
- }
-}
-
-}
-
test("platform_unittests") {
visibility += ["//sky/*"]
output_name = "sky_platform_unittests"
« no previous file with comments | « sky/engine/core/frame/ImageBitmapTest.cpp ('k') | sky/engine/platform/Supplementable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698