| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 enable_autofill_dialog = !is_ios | 83 enable_autofill_dialog = !is_ios |
| 84 | 84 |
| 85 enable_google_now = !is_ios && !is_android | 85 enable_google_now = !is_ios && !is_android |
| 86 | 86 |
| 87 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) | 87 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) |
| 88 | 88 |
| 89 enable_remoting = !is_ios && !is_android && !is_chromecast | 89 enable_remoting = !is_ios && !is_android && !is_chromecast |
| 90 | 90 |
| 91 # Enable hole punching for the protected video. | 91 # Enable hole punching for the protected video. |
| 92 enable_video_hole = is_android || is_chromecast | 92 enable_video_hole = is_android |
| 93 | 93 |
| 94 # Enables browser side Content Decryption Modules. Required for embedders | 94 # Enables browser side Content Decryption Modules. Required for embedders |
| 95 # (e.g. Android and ChromeCast) that use a browser side CDM. | 95 # (e.g. Android and ChromeCast) that use a browser side CDM. |
| 96 enable_browser_cdms = is_android || is_chromecast | 96 enable_browser_cdms = is_android || is_chromecast |
| 97 | 97 |
| 98 # Hangout services is an extension that adds extra features to Hangouts. | 98 # Hangout services is an extension that adds extra features to Hangouts. |
| 99 # For official GYP builds, this flag is set. | 99 # For official GYP builds, this flag is set. |
| 100 enable_hangout_services_extension = false | 100 enable_hangout_services_extension = false |
| 101 | 101 |
| 102 # Variable safe_browsing is used to control the build time configuration | 102 # Variable safe_browsing is used to control the build time configuration |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 # Option controlling the use of GConf (the classic GNOME configuration | 204 # Option controlling the use of GConf (the classic GNOME configuration |
| 205 # system). | 205 # system). |
| 206 use_gconf = is_linux && !is_chromeos && !is_chromecast | 206 use_gconf = is_linux && !is_chromeos && !is_chromecast |
| 207 | 207 |
| 208 # Whether to back up data before sync. | 208 # Whether to back up data before sync. |
| 209 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 209 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
| 210 | 210 |
| 211 # Enable WebVR support by default on Android | 211 # Enable WebVR support by default on Android |
| 212 # Still requires command line flag to access API | 212 # Still requires command line flag to access API |
| 213 enable_webvr = is_android | 213 enable_webvr = is_android |
| OLD | NEW |