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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } |
82 | |
83 # feature_defines_string ------------------------------------------------------- | |
84 | |
85 # Convert the list to a space-separated string for passing to scripts. | |
86 # This would be the equivalent of passing '<(feature_defines)' in GYP. | |
87 feature_defines_string = | |
88 exec_script("build/gn_list_to_space_separated_string.py", | |
89 feature_defines_list, | |
90 "trim string") | |
OLD | NEW |