Index: gfx/gfx.gyp |
=================================================================== |
--- gfx/gfx.gyp (revision 67381) |
+++ gfx/gfx.gyp (working copy) |
@@ -79,7 +79,6 @@ |
'../skia/skia.gyp:skia', |
'../third_party/icu/icu.gyp:icui18n', |
'../third_party/icu/icu.gyp:icuuc', |
- '../third_party/libjpeg/libjpeg.gyp:libjpeg', |
'../third_party/libpng/libpng.gyp:libpng', |
'../third_party/zlib/zlib.gyp:zlib', |
'gfx_resources', |
@@ -176,7 +175,16 @@ |
'native_widget_types_gtk.cc', |
], |
}], |
- ], |
+ ['libjpeg_turbo==1', { |
+ 'dependencies': [ |
+ '../third_party/libjpeg_turbo/libjpeg.gyp:libjpeg', |
+ ], |
+ }, { |
+ 'dependencies': [ |
+ '../third_party/libjpeg/libjpeg.gyp:libjpeg', |
+ ], |
+ }], |
+ ], |
}, |
{ |
# theme_resources also generates a .cc file, so it can't use the rules above. |