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

Unified Diff: skia/BUILD.gn

Issue 305513003: Add ppapi, improve Windows GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « ppapi/ppapi_sources.gypi ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/BUILD.gn
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index d98763fc597a62d7ce2ccdc651e555bad49513b0..9bd47061ad1bc812c02c6af0cf9f36194bebc398 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -372,6 +372,13 @@ component("skia") {
]
}
+ sources -= [
+ # This file is a stub for systems that use pthreads but aren't covered by
+ # one of the more specific pthread files. We don't support any such
+ # systems.
+ "//third_party/skia/src/utils/SkThreadUtils_pthread_other.cpp",
+ ]
+
if (!use_cairo) {
sources -= [
"ext/bitmap_platform_device_cairo.cc",
@@ -404,6 +411,14 @@ component("skia") {
defines = [ "SKIA_IMPLEMENTATION=1" ]
}
+ if (is_win) {
+ configs -= [
+ # Some files define WIN32_LEAN_AND_MEAN and we want to avoid a duplicate
+ # definition warning.
+ "//build/config/win:lean_and_mean",
+ ]
+ }
+
if (is_linux) {
configs += [
"//build/config/linux:fontconfig",
« no previous file with comments | « ppapi/ppapi_sources.gypi ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698