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 UI-related build flags. It should theoretically be in the | 5 # This file contains UI-related build flags. It should theoretically be in the |
6 # src/ui directory and only things that depend on the ui module should get the | 6 # src/ui directory and only things that depend on the ui module should get the |
7 # definitions. | 7 # definitions. |
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. | 10 # e.g. base, so they need to be global. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 debug_devtools = false | 44 debug_devtools = false |
45 | 45 |
46 # Enables WebRTC. | 46 # Enables WebRTC. |
47 # TODO(GYP) make mac and android work. | 47 # TODO(GYP) make mac and android work. |
48 enable_webrtc = !is_ios && !is_mac && !is_android | 48 enable_webrtc = !is_ios && !is_mac && !is_android |
49 | 49 |
50 # Enables the Media Router. | 50 # Enables the Media Router. |
51 enable_media_router = !is_ios && !is_android | 51 enable_media_router = !is_ios && !is_android |
52 | 52 |
53 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. | 53 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. |
54 proprietary_codecs = false | 54 # Android OS includes support for proprietary codecs regardless of building |
| 55 # Chromium or Google Chrome. We also ship Google Chrome and Chromecast with |
| 56 # proprietary codecs. |
| 57 # TODO(GYP) The GYP build has || chromecast==1 for this: |
| 58 proprietary_codecs = is_android || is_chrome_branded |
55 | 59 |
56 enable_configuration_policy = true | 60 enable_configuration_policy = true |
57 | 61 |
58 # Enables support for background apps. | 62 # Enables support for background apps. |
59 enable_background = !is_ios && !is_android | 63 enable_background = !is_ios && !is_android |
60 | 64 |
61 enable_captive_portal_detection = !is_android && !is_ios | 65 enable_captive_portal_detection = !is_android && !is_ios |
62 | 66 |
63 # Enables use of the session service, which is enabled by default. | 67 # Enables use of the session service, which is enabled by default. |
64 # Android stores them separately on the Java side. | 68 # Android stores them separately on the Java side. |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 # TODO(GYP) also require !embedded to enable. | 187 # TODO(GYP) also require !embedded to enable. |
184 use_gconf = is_linux && !is_chromeos | 188 use_gconf = is_linux && !is_chromeos |
185 | 189 |
186 # Hangout services is an extension that adds extra features to Hangouts. | 190 # Hangout services is an extension that adds extra features to Hangouts. |
187 # For official GYP builds, this flag is set, it will likely need to be | 191 # For official GYP builds, this flag is set, it will likely need to be |
188 # parameterized in the future for a similar use. | 192 # parameterized in the future for a similar use. |
189 enable_hangout_services_extension = false | 193 enable_hangout_services_extension = false |
190 | 194 |
191 # Whether to back up data before sync. | 195 # Whether to back up data before sync. |
192 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 196 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
OLD | NEW |