summaryrefslogtreecommitdiffstats
path: root/skia/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'skia/BUILD.gn')
-rw-r--r--skia/BUILD.gn15
1 files changed, 15 insertions, 0 deletions
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index d98763f..9bd4706 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",