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 # TODO(gyp) true | 63 # TODO(GYP) This should be enabled on ios as well. |
64 enable_configuration_policy = !is_ios | 64 enable_configuration_policy = !is_ios |
65 | 65 |
66 # Enables support for background apps. | 66 # Enables support for background apps. |
67 enable_background = !is_ios && !is_android | 67 enable_background = !is_ios && !is_android |
68 | 68 |
69 enable_captive_portal_detection = !is_android && !is_ios | 69 enable_captive_portal_detection = !is_android && !is_ios |
70 | 70 |
71 # Enables use of the session service, which is enabled by default. | 71 # Enables use of the session service, which is enabled by default. |
72 # Android stores them separately on the Java side. | 72 # Android stores them separately on the Java side. |
73 enable_session_service = !is_android && !is_ios | 73 enable_session_service = !is_android && !is_ios |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 # Hangout services is an extension that adds extra features to Hangouts. | 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 | 204 # For official GYP builds, this flag is set, it will likely need to be |
205 # parameterized in the future for a similar use. | 205 # parameterized in the future for a similar use. |
206 enable_hangout_services_extension = false | 206 enable_hangout_services_extension = false |
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 # WebVR support disabled until platform implementations have been added | 211 # WebVR support disabled until platform implementations have been added |
212 enable_webvr = false | 212 enable_webvr = false |
OLD | NEW |