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

Unified Diff: skia/BUILD.gn

Issue 235983002: GN Windows build fixes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
Index: skia/BUILD.gn
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index 8e924b6a38545dbbbe5e320ae27ef68a78bea8e9..904e8b85d1edca486fc9241098199a42e9305e06 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/features.gni")
+import("//build/config/ui.gni")
if (cpu_arch == "arm") {
import("//build/config/arm.gni")
}
@@ -258,7 +259,6 @@ component("skia") {
"//third_party/skia/src/ports/SkFontHost_win_dw.cpp",
"//third_party/skia/src/ports/SkFontMgr_default_gdi.cpp",
"//third_party/skia/src/ports/SkOSFile_win.cpp",
- "//third_party/skia/src/ports/SkThread_win.cpp",
"//third_party/skia/src/ports/SkTLS_win.cpp",
"//third_party/skia/src/utils/SkThreadUtils_win.cpp",
]
@@ -281,6 +281,7 @@ component("skia") {
"//third_party/skia/src/ports/SkFontHost_FreeType_common.cpp",
"//third_party/skia/src/ports/SkFontHost_fontconfig.cpp",
"//third_party/skia/src/ports/SkFontHost_linux.cpp",
+ "//third_party/skia/src/utils/SkThreadUtils_pthread_linux.cpp",
]
} else if (!is_android) {
sources -= [
@@ -288,6 +289,18 @@ component("skia") {
"//third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp",
]
}
+ if (!is_posix) {
+ sources -= [
+ "//third_party/skia/src/utils/SkThreadUtils_pthread.cpp",
+ ]
+ }
+
+ if (!use_cairo) {
+ sources -= [
+ "ext/bitmap_platform_device_cairo.cc",
+ "ext/bitmap_platform_device_cairo.h",
+ ]
+ }
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [

Powered by Google App Engine
This is Rietveld 408576698