Index: skia/skia_library.gypi |
diff --git a/skia/skia_library.gypi b/skia/skia_library.gypi |
index a93f6d5529ecc367b702339110f42829401cf032..9d7dacdaedc9d8b4a87457a1e7da3b9840671f52 100644 |
--- a/skia/skia_library.gypi |
+++ b/skia/skia_library.gypi |
@@ -273,7 +273,6 @@ |
'dependencies': [ |
'../build/linux/system.gyp:fontconfig', |
'../build/linux/system.gyp:freetype2', |
- '../build/linux/system.gyp:pangocairo', |
'../third_party/icu/icu.gyp:icuuc', |
], |
'cflags': [ |
@@ -281,6 +280,11 @@ |
'-Wno-unused-function', |
], |
}], |
+ [ 'use_cairo == 1', { |
+ 'dependencies': [ |
+ '../build/linux/system.gyp:pangocairo', |
+ ], |
+ }], |
[ 'OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', { |
'sources!': [ |
'../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp', |