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