Chromium Code Reviews| Index: third_party/WebKit/Source/config.gni |
| diff --git a/third_party/WebKit/Source/config.gni b/third_party/WebKit/Source/config.gni |
| index e8e0050bbbc2ce22efe65730f5cb87dbb85479a1..79f64bee591511a14ededfe56dbb42143059464d 100644 |
| --- a/third_party/WebKit/Source/config.gni |
| +++ b/third_party/WebKit/Source/config.gni |
| @@ -28,6 +28,9 @@ declare_args() { |
| # If true, enables blink logging macros (WTF_LOG and friends) unconditionally. |
| # When false, blink logging macros are enabled only if assertions are enabled. |
| blink_logging_always_on = false |
| + |
| + # If true, defaults image interpolation to low quality. |
| + use_low_quality_image_interpolation = false |
|
Dirk Pranke
2016/04/07 19:46:23
Does it make sense to default this to "= is_androi
nyquist
2016/04/07 20:29:18
That makes total sense to me. I'm assuming you als
|
| } |
| # Whether Android build uses OpenMAX DL FFT. Currently supported only on |
| @@ -66,9 +69,11 @@ if (!is_android || use_aura) { |
| feature_defines_list += [ "ENABLE_INPUT_MULTIPLE_FIELDS_UI=1" ] |
| } |
| -if (is_android) { |
| +if (is_android || use_low_quality_image_interpolation) { |
| feature_defines_list += [ "WTF_USE_LOW_QUALITY_IMAGE_INTERPOLATION=1" ] |
| -} else { |
| +} |
| + |
| +if (!is_android) { |
| feature_defines_list += [ |
| "WTF_USE_ICCJPEG=1", |
| "WTF_USE_QCMSLIB=1", |