Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: third_party/WebKit/Source/config.gni

Issue 1867093002: Add support for defaulting to low quality image interpolation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make default value of use_low_quality_image_interpolation = is_android Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/args/blimp_engine.gn ('k') | tools/mb/mb_config.pyl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a0bed4e3414352e2d3b969e740ffd3a4b317c741 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 = is_android
}
# 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 (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",
« no previous file with comments | « build/args/blimp_engine.gn ('k') | tools/mb/mb_config.pyl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698