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 # This file contains Chrome-feature-related build flags (see ui.gni for | 5 # This file contains Chrome-feature-related build flags (see ui.gni for |
6 # UI-related ones). These should theoretically be moved to the build files of | 6 # UI-related ones). These should theoretically be moved to the build files of |
7 # the features themselves. | 7 # the features themselves. |
8 # | 8 # |
9 # However, today we have many "bad" dependencies on some of these flags from, | 9 # However, today we have many "bad" dependencies on some of these flags from, |
10 # e.g. base, so they need to be global to match the GYP configuration. Also, | 10 # e.g. base, so they need to be global to match the GYP configuration. Also, |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 # Set the version of CLD. | 112 # Set the version of CLD. |
113 # 0: Don't specify the version. This option is for the Finch testing. | 113 # 0: Don't specify the version. This option is for the Finch testing. |
114 # 1: Use only CLD1. | 114 # 1: Use only CLD1. |
115 # 2: Use only CLD2. | 115 # 2: Use only CLD2. |
116 if (is_android) { | 116 if (is_android) { |
117 cld_version = 1 | 117 cld_version = 1 |
118 } else { | 118 } else { |
119 cld_version = 2 | 119 cld_version = 2 |
120 } | 120 } |
121 | 121 |
122 # libudev usage. This currently only affects the content layer. | 122 # libudev usage. |
123 use_udev = is_linux | 123 use_udev = is_linux && !is_fnl |
124 | 124 |
125 # Enable the spell checker. | 125 # Enable the spell checker. |
126 enable_spellcheck = !is_android | 126 enable_spellcheck = !is_android |
127 | 127 |
128 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) | 128 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) |
129 | 129 |
130 # Enable basic printing support and UI. | 130 # Enable basic printing support and UI. |
131 enable_basic_printing = !is_chromeos | 131 enable_basic_printing = !is_chromeos |
132 | 132 |
133 # Enable printing with print preview. It does not imply | 133 # Enable printing with print preview. It does not imply |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 # TODO(GYP) also require !embedded to enable. | 190 # TODO(GYP) also require !embedded to enable. |
191 use_gconf = is_linux && !is_chromeos | 191 use_gconf = is_linux && !is_chromeos |
192 | 192 |
193 # Hangout services is an extension that adds extra features to Hangouts. | 193 # Hangout services is an extension that adds extra features to Hangouts. |
194 # For official GYP builds, this flag is set, it will likely need to be | 194 # For official GYP builds, this flag is set, it will likely need to be |
195 # parameterized in the future for a similar use. | 195 # parameterized in the future for a similar use. |
196 enable_hangout_services_extension = false | 196 enable_hangout_services_extension = false |
197 | 197 |
198 # Whether to back up data before sync. | 198 # Whether to back up data before sync. |
199 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 199 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
OLD | NEW |