| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 | 86 |
| 87 enable_remoting = !is_ios && !is_android | 87 enable_remoting = !is_ios && !is_android |
| 88 | 88 |
| 89 # Enable hole punching for the protected video. | 89 # Enable hole punching for the protected video. |
| 90 enable_video_hole = is_android | 90 enable_video_hole = is_android |
| 91 | 91 |
| 92 # Enables browser side Content Decryption Modules. Required for embedders | 92 # Enables browser side Content Decryption Modules. Required for embedders |
| 93 # (e.g. Android and ChromeCast) that use a browser side CDM. | 93 # (e.g. Android and ChromeCast) that use a browser side CDM. |
| 94 enable_browser_cdms = is_android | 94 enable_browser_cdms = is_android |
| 95 | 95 |
| 96 # Hangout services is an extension that adds extra features to Hangouts. |
| 97 # For official GYP builds, this flag is set. |
| 98 enable_hangout_services_extension = false |
| 99 |
| 96 # Enables the use of CDMs in pepper plugins. Chromecast requires that this | 100 # Enables the use of CDMs in pepper plugins. Chromecast requires that this |
| 97 # can be explicitly disabled in gn args. | 101 # can be explicitly disabled in gn args. |
| 98 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) | 102 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) |
| 99 | 103 |
| 100 # Variable safe_browsing is used to control the build time configuration | 104 # Variable safe_browsing is used to control the build time configuration |
| 101 # for safe browsing feature. Safe browsing can be compiled in 4 different | 105 # for safe browsing feature. Safe browsing can be compiled in 4 different |
| 102 # levels: 0 disables it, 1 enables it fully, and 2 enables only UI and | 106 # levels: 0 disables it, 1 enables it fully, and 2 enables only UI and |
| 103 # reporting features for use with Data Saver on Mobile, and 3 enables | 107 # reporting features for use with Data Saver on Mobile, and 3 enables |
| 104 # extended mobile protection via an external API. When 3 is fully deployed, | 108 # extended mobile protection via an external API. When 3 is fully deployed, |
| 105 # it will replace 2. | 109 # it will replace 2. |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 enable_chromevox_next = false | 197 enable_chromevox_next = false |
| 194 | 198 |
| 195 # Use brlapi from brltty for braille display support. | 199 # Use brlapi from brltty for braille display support. |
| 196 use_brlapi = is_chromeos | 200 use_brlapi = is_chromeos |
| 197 | 201 |
| 198 # Option controlling the use of GConf (the classic GNOME configuration | 202 # Option controlling the use of GConf (the classic GNOME configuration |
| 199 # system). | 203 # system). |
| 200 # TODO(GYP) also require !embedded to enable. | 204 # TODO(GYP) also require !embedded to enable. |
| 201 use_gconf = is_linux && !is_chromeos | 205 use_gconf = is_linux && !is_chromeos |
| 202 | 206 |
| 203 # Hangout services is an extension that adds extra features to Hangouts. | |
| 204 # For official GYP builds, this flag is set, it will likely need to be | |
| 205 # parameterized in the future for a similar use. | |
| 206 enable_hangout_services_extension = false | |
| 207 | |
| 208 # Whether to back up data before sync. | 207 # Whether to back up data before sync. |
| 209 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 208 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
| 210 | 209 |
| 211 # WebVR support disabled until platform implementations have been added | 210 # WebVR support disabled until platform implementations have been added |
| 212 enable_webvr = false | 211 enable_webvr = false |
| OLD | NEW |