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

Side by Side Diff: Source/config.gni

Issue 617103003: Replace ENABLE_OPENTYPE_VERTICAL implementation with HarfBuzz (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@removeOpenTypeVertical
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
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 } else { 9 } else {
10 # TODO(brettw) remove this once && early-out is checked in. 10 # TODO(brettw) remove this once && early-out is checked in.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 if (use_openmax_dl_fft) { 78 if (use_openmax_dl_fft) {
79 feature_defines_list += [ 79 feature_defines_list += [
80 "WTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1", 80 "WTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1",
81 # Enabling the FFT is enough to enable WebAudio support to 81 # Enabling the FFT is enough to enable WebAudio support to
82 # allow most WebAudio features to work on Android. 82 # allow most WebAudio features to work on Android.
83 "ENABLE_WEB_AUDIO=1", 83 "ENABLE_WEB_AUDIO=1",
84 ] 84 ]
85 } 85 }
86 86
87 if (!is_mac) {
88 # Mac OS X has not implemented support for ENABLE(OPENTYPE_VERTICAL) yet.
89 feature_defines_list += [ "ENABLE_OPENTYPE_VERTICAL=1" ]
90 }
91
92 if (use_default_render_theme) { 87 if (use_default_render_theme) {
93 feature_defines_list += [ "WTF_USE_DEFAULT_RENDER_THEME=1" ] 88 feature_defines_list += [ "WTF_USE_DEFAULT_RENDER_THEME=1" ]
94 } 89 }
95 if (enable_oilpan) { 90 if (enable_oilpan) {
96 feature_defines_list += [ "ENABLE_OILPAN=1" ] 91 feature_defines_list += [ "ENABLE_OILPAN=1" ]
97 } 92 }
98 if (blink_asserts_always_on) { 93 if (blink_asserts_always_on) {
99 feature_defines_list += [ "ENABLE_ASSERT=1" ] 94 feature_defines_list += [ "ENABLE_ASSERT=1" ]
100 } 95 }
101 96
102 # feature_defines_string ------------------------------------------------------- 97 # feature_defines_string -------------------------------------------------------
103 98
104 # Convert the list to a space-separated string for passing to scripts. 99 # Convert the list to a space-separated string for passing to scripts.
105 # This would be the equivalent of passing '<(feature_defines)' in GYP. 100 # This would be the equivalent of passing '<(feature_defines)' in GYP.
106 feature_defines_string = exec_script( 101 feature_defines_string = exec_script(
107 "build/gn_list_to_space_separated_string.py", 102 "build/gn_list_to_space_separated_string.py",
108 feature_defines_list, 103 feature_defines_list,
109 "trim string") 104 "trim string")
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698