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

Unified Diff: BUILD.gn

Issue 2347443002: Compile the skia library for windows using gn. (Closed)
Patch Set: Created 4 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 | gn/BUILD.gn » ('j') | gn/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index f14a027af5b090771d11880cf27b4ea7fd640818..361cd409e05e0a02b82ab716d79ea60f2d8379a2 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -404,6 +404,10 @@ component("skia") {
":xml",
]
+ if (!is_win) {
mtklein 2016/09/14 21:25:14 Probably redundant.
herb_g 2016/09/16 19:54:15 Done.
+ libs = [ "pthread" ]
+ }
+
sources = []
sources += skia_core_sources
sources += skia_effects_sources
@@ -469,7 +473,7 @@ component("skia") {
"src/ports/SkTypeface_win_dw.cpp",
"src/xps/SkDocument_XPS.cpp",
]
- sources -= [ "src/utils/SkThreadUtils_pthread.cpp" ]
+ sources -= [ get_path_info("src/utils/SkThreadUtils_pthread.cpp", "abspath") ]
} else {
sources += [
"src/ports/SkOSFile_posix.cpp",
« no previous file with comments | « no previous file | gn/BUILD.gn » ('j') | gn/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698