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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 # --debug-devtools cmdline switch. | 46 # --debug-devtools cmdline switch. |
47 debug_devtools = false | 47 debug_devtools = false |
48 | 48 |
49 # Enables WebRTC. | 49 # Enables WebRTC. |
50 # TODO(GYP) make mac and android work. | 50 # TODO(GYP) make mac and android work. |
51 enable_webrtc = !is_ios && !is_mac && !is_android | 51 enable_webrtc = !is_ios && !is_mac && !is_android |
52 | 52 |
53 # Enables the Media Router. | 53 # Enables the Media Router. |
54 enable_media_router = !is_ios && !is_android | 54 enable_media_router = !is_ios && !is_android |
55 | 55 |
| 56 # 'Ok Google' hotwording is disabled by default in open source builds. Set to |
| 57 # true to enable. (This will download a closed-source NaCl module at startup.) |
| 58 # Chrome-branded builds have this enabled by default. |
| 59 enable_hotwording = is_chrome_branded |
| 60 |
56 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. | 61 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. |
57 # Android OS includes support for proprietary codecs regardless of building | 62 # Android OS includes support for proprietary codecs regardless of building |
58 # Chromium or Google Chrome. We also ship Google Chrome and Chromecast with | 63 # Chromium or Google Chrome. We also ship Google Chrome and Chromecast with |
59 # proprietary codecs. | 64 # proprietary codecs. |
60 # TODO(GYP) The GYP build has || chromecast==1 for this: | 65 # TODO(GYP) The GYP build has || chromecast==1 for this: |
61 proprietary_codecs = is_android || is_chrome_branded | 66 proprietary_codecs = is_android || is_chrome_branded |
62 | 67 |
63 enable_configuration_policy = true | 68 enable_configuration_policy = true |
64 | 69 |
65 # Enables support for background apps. | 70 # Enables support for background apps. |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 # TODO(GYP) also require !embedded to enable. | 195 # TODO(GYP) also require !embedded to enable. |
191 use_gconf = is_linux && !is_chromeos | 196 use_gconf = is_linux && !is_chromeos |
192 | 197 |
193 # Hangout services is an extension that adds extra features to Hangouts. | 198 # Hangout services is an extension that adds extra features to Hangouts. |
194 # For official GYP builds, this flag is set, it will likely need to be | 199 # For official GYP builds, this flag is set, it will likely need to be |
195 # parameterized in the future for a similar use. | 200 # parameterized in the future for a similar use. |
196 enable_hangout_services_extension = false | 201 enable_hangout_services_extension = false |
197 | 202 |
198 # Whether to back up data before sync. | 203 # Whether to back up data before sync. |
199 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 204 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
OLD | NEW |