| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 # --debug-devtools cmdline switch. | 50 # --debug-devtools cmdline switch. |
| 51 debug_devtools = false | 51 debug_devtools = false |
| 52 | 52 |
| 53 # Enables WebRTC. | 53 # Enables WebRTC. |
| 54 # TODO(GYP) make mac work. | 54 # TODO(GYP) make mac work. |
| 55 enable_webrtc = !is_ios | 55 enable_webrtc = !is_ios |
| 56 | 56 |
| 57 # Enables the Media Router. | 57 # Enables the Media Router. |
| 58 enable_media_router = !is_ios | 58 enable_media_router = !is_ios |
| 59 | 59 |
| 60 # 'Ok Google' hotwording is disabled by default in open source builds. Set to |
| 61 # true to enable. (This will download a closed-source NaCl module at startup.) |
| 62 # Chrome-branded builds have this enabled by default. |
| 63 enable_hotwording = is_chrome_branded && is_chromeos |
| 64 |
| 60 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. | 65 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. |
| 61 # Android OS includes support for proprietary codecs regardless of building | 66 # Android OS includes support for proprietary codecs regardless of building |
| 62 # Chromium or Google Chrome. We also ship Google Chrome and Chromecast with | 67 # Chromium or Google Chrome. We also ship Google Chrome and Chromecast with |
| 63 # proprietary codecs. | 68 # proprietary codecs. |
| 64 proprietary_codecs = is_android || is_chrome_branded || is_chromecast | 69 proprietary_codecs = is_android || is_chrome_branded || is_chromecast |
| 65 | 70 |
| 66 enable_configuration_policy = !is_ios | 71 enable_configuration_policy = !is_ios |
| 67 | 72 |
| 68 # Enables support for background apps. | 73 # Enables support for background apps. |
| 69 enable_background = !is_ios && !is_android | 74 enable_background = !is_ios && !is_android |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 | 199 |
| 195 # Option controlling the use of GConf (the classic GNOME configuration | 200 # Option controlling the use of GConf (the classic GNOME configuration |
| 196 # system). | 201 # system). |
| 197 use_gconf = is_linux && !is_chromeos && !is_chromecast && !is_headless | 202 use_gconf = is_linux && !is_chromeos && !is_chromecast && !is_headless |
| 198 | 203 |
| 199 # Enable WebVR support by default on Android | 204 # Enable WebVR support by default on Android |
| 200 # Still requires command line flag to access API | 205 # Still requires command line flag to access API |
| 201 enable_webvr = is_android | 206 enable_webvr = is_android |
| 202 | 207 |
| 203 use_gio = is_desktop_linux && !is_headless | 208 use_gio = is_desktop_linux && !is_headless |
| OLD | NEW |