| 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 28 matching lines...) Expand all Loading... |
| 39 # resources.pak. It is still possible to load JS files from disk by passing | 39 # resources.pak. It is still possible to load JS files from disk by passing |
| 40 # --debug-devtools cmdline switch. | 40 # --debug-devtools cmdline switch. |
| 41 debug_devtools = false | 41 debug_devtools = false |
| 42 | 42 |
| 43 # Enables WebRTC. | 43 # Enables WebRTC. |
| 44 enable_webrtc = !is_ios | 44 enable_webrtc = !is_ios |
| 45 | 45 |
| 46 # Enables the Media Router. | 46 # Enables the Media Router. |
| 47 enable_media_router = !is_ios | 47 enable_media_router = !is_ios |
| 48 | 48 |
| 49 # Enables proprietary codecs and demuxers; e.g. H264, AAC, MP3, and MP4. | 49 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. |
| 50 # We always build Google Chrome and Chromecast with proprietary codecs. | 50 # Android OS includes support for proprietary codecs regardless of building |
| 51 proprietary_codecs = is_chrome_branded || is_chromecast | 51 # Chromium or Google Chrome. We also ship Google Chrome and Chromecast with |
| 52 # proprietary codecs. |
| 53 proprietary_codecs = is_android || is_chrome_branded || is_chromecast |
| 52 | 54 |
| 53 enable_configuration_policy = !is_ios | 55 enable_configuration_policy = !is_ios |
| 54 | 56 |
| 55 enable_captive_portal_detection = !is_android && !is_ios | 57 enable_captive_portal_detection = !is_android && !is_ios |
| 56 | 58 |
| 57 # Enables use of the session service, which is enabled by default. | 59 # Enables use of the session service, which is enabled by default. |
| 58 # Android stores them separately on the Java side. | 60 # Android stores them separately on the Java side. |
| 59 enable_session_service = !is_android && !is_ios | 61 enable_session_service = !is_android && !is_ios |
| 60 | 62 |
| 61 enable_plugin_installation = is_win || is_mac | 63 enable_plugin_installation = is_win || is_mac |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 | 173 |
| 172 # Option controlling the use of GConf (the classic GNOME configuration | 174 # Option controlling the use of GConf (the classic GNOME configuration |
| 173 # system). | 175 # system). |
| 174 use_gconf = is_linux && !is_chromeos && !is_chromecast && !is_headless | 176 use_gconf = is_linux && !is_chromeos && !is_chromecast && !is_headless |
| 175 | 177 |
| 176 # Enable WebVR support by default on Android | 178 # Enable WebVR support by default on Android |
| 177 # Still requires command line flag to access API | 179 # Still requires command line flag to access API |
| 178 enable_webvr = is_android | 180 enable_webvr = is_android |
| 179 | 181 |
| 180 use_gio = is_linux && !is_chromeos && !is_chromecast && !is_headless | 182 use_gio = is_linux && !is_chromeos && !is_chromecast && !is_headless |
| OLD | NEW |