Chromium Code Reviews| Index: third_party/BUILD.gn |
| diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn |
| index 8c223ae92076f773733f2624573ce65a01cb2d85..8dca5776f9954b3ea1f9a6ce297b717949503c63 100644 |
| --- a/third_party/BUILD.gn |
| +++ b/third_party/BUILD.gn |
| @@ -20,7 +20,12 @@ config("system_libjpeg_config") { |
| } |
| config("libjpeg_turbo_config") { |
| - defines = [ "USE_LIBJPEG_TURBO" ] |
| + # Only used by ui/gfx/codec/jpeg_codec.cc. Chrome OS requires IJG for |
| + # robustly decoding login screen images. |
| + # TODO(jorgelo): make sure this works on Chrome OS. |
| + if (!is_chromeos) { |
|
sky
2014/10/06 18:21:28
Wouldn't it be better to wrap the config in the if
Ed Baker
2014/10/30 23:29:48
Done.
|
| + defines = [ "USE_LIBJPEG_TURBO" ] |
| + } |
| } |
| # This is a meta target that forwards to the system's libjpeg, |