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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 } | 51 } |
52 | 52 |
53 if (use_concatenated_impulse_responses) { | 53 if (use_concatenated_impulse_responses) { |
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) { | |
62 feature_defines_list += [ | |
63 "WTF_USE_ICCJPEG=1", | |
64 "WTF_USE_QCMSLIB=1", | |
65 ] | |
66 } | |
67 | |
68 if (use_webaudio_ffmpeg) { | 61 if (use_webaudio_ffmpeg) { |
69 feature_defines_list += [ "WTF_USE_WEBAUDIO_FFMPEG=1" ] | 62 feature_defines_list += [ "WTF_USE_WEBAUDIO_FFMPEG=1" ] |
70 } | 63 } |
71 | 64 |
72 if (use_openmax_dl_fft) { | 65 if (use_openmax_dl_fft) { |
73 feature_defines_list += [ "WTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1" ] | 66 feature_defines_list += [ "WTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1" ] |
74 } | 67 } |
75 | 68 |
76 if (use_default_render_theme) { | 69 if (use_default_render_theme) { |
77 feature_defines_list += [ "WTF_USE_DEFAULT_RENDER_THEME=1" ] | 70 feature_defines_list += [ "WTF_USE_DEFAULT_RENDER_THEME=1" ] |
78 } | 71 } |
79 if (blink_logging_always_on) { | 72 if (blink_logging_always_on) { |
80 feature_defines_list += [ "LOG_DISABLED=0" ] | 73 feature_defines_list += [ "LOG_DISABLED=0" ] |
81 } | 74 } |
OLD | NEW |