| 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",
|
|
|