| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 # Enables the Media Router. | 53 # Enables the Media Router. |
| 54 enable_media_router = !is_ios | 54 enable_media_router = !is_ios |
| 55 | 55 |
| 56 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. | 56 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. |
| 57 # Android OS includes support for proprietary codecs regardless of building | 57 # Android OS includes support for proprietary codecs regardless of building |
| 58 # Chromium or Google Chrome. We also ship Google Chrome and Chromecast with | 58 # Chromium or Google Chrome. We also ship Google Chrome and Chromecast with |
| 59 # proprietary codecs. | 59 # proprietary codecs. |
| 60 # TODO(GYP) The GYP build has || chromecast==1 for this: | 60 # TODO(GYP) The GYP build has || chromecast==1 for this: |
| 61 proprietary_codecs = is_android || is_chrome_branded | 61 proprietary_codecs = is_android || is_chrome_branded |
| 62 | 62 |
| 63 enable_configuration_policy = true | 63 # TODO(gyp) true |
| 64 enable_configuration_policy = !is_ios |
| 64 | 65 |
| 65 # Enables support for background apps. | 66 # Enables support for background apps. |
| 66 enable_background = !is_ios && !is_android | 67 enable_background = !is_ios && !is_android |
| 67 | 68 |
| 68 enable_captive_portal_detection = !is_android && !is_ios | 69 enable_captive_portal_detection = !is_android && !is_ios |
| 69 | 70 |
| 70 # Enables use of the session service, which is enabled by default. | 71 # Enables use of the session service, which is enabled by default. |
| 71 # Android stores them separately on the Java side. | 72 # Android stores them separately on the Java side. |
| 72 enable_session_service = !is_android && !is_ios | 73 enable_session_service = !is_android && !is_ios |
| 73 | 74 |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 # Hangout services is an extension that adds extra features to Hangouts. | 196 # Hangout services is an extension that adds extra features to Hangouts. |
| 196 # For official GYP builds, this flag is set, it will likely need to be | 197 # For official GYP builds, this flag is set, it will likely need to be |
| 197 # parameterized in the future for a similar use. | 198 # parameterized in the future for a similar use. |
| 198 enable_hangout_services_extension = false | 199 enable_hangout_services_extension = false |
| 199 | 200 |
| 200 # Whether to back up data before sync. | 201 # Whether to back up data before sync. |
| 201 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 202 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
| 202 | 203 |
| 203 # WebVR support disabled until platform implementations have been added | 204 # WebVR support disabled until platform implementations have been added |
| 204 enable_webvr = false | 205 enable_webvr = false |
| OLD | NEW |