| 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 import("//third_party/WebKit/public/public_features.gni") |
| 6 | 7 |
| 7 if (is_android) { | 8 if (is_android) { |
| 8 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
| 9 } | 10 } |
| 10 if (current_cpu == "arm") { | 11 if (current_cpu == "arm") { |
| 11 import("//build/config/arm.gni") | 12 import("//build/config/arm.gni") |
| 12 } | 13 } |
| 13 | 14 |
| 14 declare_args() { | 15 declare_args() { |
| 15 # If true, doesn't compile debug symbols into webcore reducing the | 16 # If true, doesn't compile debug symbols into webcore reducing the |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 61 |
| 61 if (use_webaudio_ffmpeg) { | 62 if (use_webaudio_ffmpeg) { |
| 62 feature_defines_list += [ "WTF_USE_WEBAUDIO_FFMPEG=1" ] | 63 feature_defines_list += [ "WTF_USE_WEBAUDIO_FFMPEG=1" ] |
| 63 } | 64 } |
| 64 | 65 |
| 65 if (use_openmax_dl_fft) { | 66 if (use_openmax_dl_fft) { |
| 66 feature_defines_list += [ "WTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1" ] | 67 feature_defines_list += [ "WTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1" ] |
| 67 } | 68 } |
| 68 | 69 |
| 69 if (use_default_render_theme) { | 70 if (use_default_render_theme) { |
| 71 # Mirrors the USE_DEFAULT_RENDER_THEME buildflag_header in WebKit/public. |
| 72 # If/when Blink can use buildflag headers, this should be removed in |
| 73 # preference to that. |
| 70 feature_defines_list += [ "WTF_USE_DEFAULT_RENDER_THEME=1" ] | 74 feature_defines_list += [ "WTF_USE_DEFAULT_RENDER_THEME=1" ] |
| 71 } | 75 } |
| 72 if (blink_logging_always_on) { | 76 if (blink_logging_always_on) { |
| 73 feature_defines_list += [ "LOG_DISABLED=0" ] | 77 feature_defines_list += [ "LOG_DISABLED=0" ] |
| 74 } | 78 } |
| OLD | NEW |