| 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 fieldtrial_testing_like_official_build = is_chrome_branded | 118 fieldtrial_testing_like_official_build = is_chrome_branded |
| 119 } | 119 } |
| 120 | 120 |
| 121 # Additional dependent variables ----------------------------------------------- | 121 # Additional dependent variables ----------------------------------------------- |
| 122 | 122 |
| 123 # Set the version of CLD. | 123 # Set the version of CLD. |
| 124 # 1: (DEPRECATED! See http://crbug.com/528305 for info) Use only CLD1. | 124 # 1: (DEPRECATED! See http://crbug.com/528305 for info) Use only CLD1. |
| 125 # 2: Use only CLD2. | 125 # 2: Use only CLD2. |
| 126 cld_version = 2 | 126 cld_version = 2 |
| 127 | 127 |
| 128 if (is_android || is_ios) { | |
| 129 cld2_table_size = 0 # Small, accurate tables | |
| 130 } else { | |
| 131 cld2_table_size = 2 # Larger, more accurate tables | |
| 132 } | |
| 133 | |
| 134 # libudev usage. This currently only affects the content layer. | 128 # libudev usage. This currently only affects the content layer. |
| 135 use_udev = is_linux && !is_chromecast | 129 use_udev = is_linux && !is_chromecast |
| 136 | 130 |
| 137 # Enable the spell checker. | 131 # Enable the spell checker. |
| 138 enable_spellcheck = !is_ios | 132 enable_spellcheck = !is_ios |
| 139 | 133 |
| 140 # Use the operating system's spellchecker rather than hunspell. | 134 # Use the operating system's spellchecker rather than hunspell. |
| 141 use_browser_spellchecker = is_android || is_mac | 135 use_browser_spellchecker = is_android || is_mac |
| 142 | 136 |
| 143 # Enable basic printing support and UI. | 137 # Enable basic printing support and UI. |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 # Option controlling the use of GConf (the classic GNOME configuration | 198 # Option controlling the use of GConf (the classic GNOME configuration |
| 205 # system). | 199 # system). |
| 206 use_gconf = is_linux && !is_chromeos && !is_chromecast | 200 use_gconf = is_linux && !is_chromeos && !is_chromecast |
| 207 | 201 |
| 208 # Whether to back up data before sync. | 202 # Whether to back up data before sync. |
| 209 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 203 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
| 210 | 204 |
| 211 # Enable WebVR support by default on Android | 205 # Enable WebVR support by default on Android |
| 212 # Still requires command line flag to access API | 206 # Still requires command line flag to access API |
| 213 enable_webvr = is_android | 207 enable_webvr = is_android |
| OLD | NEW |