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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. | 60 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. |
61 # Android OS includes support for proprietary codecs regardless of building | 61 # Android OS includes support for proprietary codecs regardless of building |
62 # Chromium or Google Chrome. We also ship Google Chrome and Chromecast with | 62 # Chromium or Google Chrome. We also ship Google Chrome and Chromecast with |
63 # proprietary codecs. | 63 # proprietary codecs. |
64 proprietary_codecs = is_android || is_chrome_branded || is_chromecast | 64 proprietary_codecs = is_android || is_chrome_branded || is_chromecast |
65 | 65 |
66 # TODO(GYP) This should be enabled on ios as well. | |
67 enable_configuration_policy = !is_ios | 66 enable_configuration_policy = !is_ios |
68 | 67 |
69 # Enables support for background apps. | 68 # Enables support for background apps. |
70 enable_background = !is_ios && !is_android | 69 enable_background = !is_ios && !is_android |
71 | 70 |
72 enable_captive_portal_detection = !is_android && !is_ios | 71 enable_captive_portal_detection = !is_android && !is_ios |
73 | 72 |
74 # Enables use of the session service, which is enabled by default. | 73 # Enables use of the session service, which is enabled by default. |
75 # Android stores them separately on the Java side. | 74 # Android stores them separately on the Java side. |
76 enable_session_service = !is_android && !is_ios | 75 enable_session_service = !is_android && !is_ios |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 198 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
200 | 199 |
201 # Enable WebVR support by default on Android | 200 # Enable WebVR support by default on Android |
202 # Still requires command line flag to access API | 201 # Still requires command line flag to access API |
203 enable_webvr = is_android | 202 enable_webvr = is_android |
204 | 203 |
205 use_gio = is_desktop_linux && !is_headless | 204 use_gio = is_desktop_linux && !is_headless |
206 | 205 |
207 # Chrome OS: whether to use ARC instances. Disabled by default. | 206 # Chrome OS: whether to use ARC instances. Disabled by default. |
208 enable_arc = false | 207 enable_arc = false |
OLD | NEW |