| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 | 6 |
| 7 if (is_android) { | 7 if (is_android) { |
| 8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
| 9 } | 9 } |
| 10 if (current_cpu == "arm") { | 10 if (current_cpu == "arm") { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 feature_defines_list += [ "WTF_USE_CONCATENATED_IMPULSE_RESPONSES=1" ] | 54 feature_defines_list += [ "WTF_USE_CONCATENATED_IMPULSE_RESPONSES=1" ] |
| 55 } | 55 } |
| 56 | 56 |
| 57 if (use_low_quality_image_interpolation) { | 57 if (use_low_quality_image_interpolation) { |
| 58 feature_defines_list += [ "WTF_USE_LOW_QUALITY_IMAGE_INTERPOLATION=1" ] | 58 feature_defines_list += [ "WTF_USE_LOW_QUALITY_IMAGE_INTERPOLATION=1" ] |
| 59 } | 59 } |
| 60 | 60 |
| 61 if (!is_android) { | 61 if (!is_android) { |
| 62 feature_defines_list += [ | 62 feature_defines_list += [ |
| 63 "WTF_USE_ICCJPEG=1", | 63 "WTF_USE_ICCJPEG=1", |
| 64 "WTF_USE_SKCOLORXFORM=1", | 64 "WTF_USE_QCMSLIB=1", |
| 65 ] | 65 ] |
| 66 } | 66 } |
| 67 | 67 |
| 68 if (use_webaudio_ffmpeg) { | 68 if (use_webaudio_ffmpeg) { |
| 69 feature_defines_list += [ "WTF_USE_WEBAUDIO_FFMPEG=1" ] | 69 feature_defines_list += [ "WTF_USE_WEBAUDIO_FFMPEG=1" ] |
| 70 } | 70 } |
| 71 | 71 |
| 72 if (use_openmax_dl_fft) { | 72 if (use_openmax_dl_fft) { |
| 73 feature_defines_list += [ "WTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1" ] | 73 feature_defines_list += [ "WTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1" ] |
| 74 } | 74 } |
| 75 | 75 |
| 76 if (use_default_render_theme) { | 76 if (use_default_render_theme) { |
| 77 feature_defines_list += [ "WTF_USE_DEFAULT_RENDER_THEME=1" ] | 77 feature_defines_list += [ "WTF_USE_DEFAULT_RENDER_THEME=1" ] |
| 78 } | 78 } |
| 79 if (blink_logging_always_on) { | 79 if (blink_logging_always_on) { |
| 80 feature_defines_list += [ "LOG_DISABLED=0" ] | 80 feature_defines_list += [ "LOG_DISABLED=0" ] |
| 81 } | 81 } |
| OLD | NEW |