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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 | 118 |
119 # Set to true make a build that disables activation of field trial tests | 119 # Set to true make a build that disables activation of field trial tests |
120 # specified in testing/variations/fieldtrial_testing_config_*.json. | 120 # specified in testing/variations/fieldtrial_testing_config_*.json. |
121 # Note: this setting is ignored if is_chrome_branded. | 121 # Note: this setting is ignored if is_chrome_branded. |
122 fieldtrial_testing_like_official_build = is_chrome_branded | 122 fieldtrial_testing_like_official_build = is_chrome_branded |
123 } | 123 } |
124 | 124 |
125 # Additional dependent variables ----------------------------------------------- | 125 # Additional dependent variables ----------------------------------------------- |
126 | 126 |
127 # Set the version of CLD. | 127 # Set the version of CLD. |
128 # 0: Don't specify the version. This option is for the Finch testing. | 128 # 1: (DEPRECATED! See http://crbug.com/528305 for info) Use only CLD1. |
129 # 1: Use only CLD1. | |
130 # 2: Use only CLD2. | 129 # 2: Use only CLD2. |
131 if (is_android) { | 130 cld_version = 2 |
132 cld_version = 1 | |
133 } else { | |
134 cld_version = 2 | |
135 } | |
136 | 131 |
137 # libudev usage. This currently only affects the content layer. | 132 # libudev usage. This currently only affects the content layer. |
138 use_udev = is_linux | 133 use_udev = is_linux |
139 | 134 |
140 # Enable the spell checker. | 135 # Enable the spell checker. |
141 enable_spellcheck = !is_ios | 136 enable_spellcheck = !is_ios |
142 | 137 |
143 # Use the operating system's spellchecker rather than hunspell. | 138 # Use the operating system's spellchecker rather than hunspell. |
144 use_browser_spellchecker = is_android || is_mac | 139 use_browser_spellchecker = is_android || is_mac |
145 | 140 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 # system). | 199 # system). |
205 # TODO(GYP) also require !embedded to enable. | 200 # TODO(GYP) also require !embedded to enable. |
206 use_gconf = is_linux && !is_chromeos | 201 use_gconf = is_linux && !is_chromeos |
207 | 202 |
208 # Whether to back up data before sync. | 203 # Whether to back up data before sync. |
209 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 204 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
210 | 205 |
211 # Enable WebVR support by default on Android | 206 # Enable WebVR support by default on Android |
212 # Still requires command line flag to access API | 207 # Still requires command line flag to access API |
213 enable_webvr = is_android | 208 enable_webvr = is_android |
OLD | NEW |