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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, AAC, MP3, and MP4. |
50 # We always build Google Chrome and Chromecast with proprietary codecs. | 50 # We always build Google Chrome and Chromecast with proprietary codecs. |
51 proprietary_codecs = is_chrome_branded || is_chromecast | 51 proprietary_codecs = is_chrome_branded || is_chromecast |
52 | 52 |
53 enable_captive_portal_detection = !is_android && !is_ios | 53 enable_captive_portal_detection = !is_android && !is_ios && !is_chromecast |
54 | 54 |
55 # Enables use of the session service, which is enabled by default. | 55 # Enables use of the session service, which is enabled by default. |
56 # Android stores them separately on the Java side. | 56 # Android stores them separately on the Java side. |
57 enable_session_service = !is_android && !is_ios | 57 enable_session_service = !is_android && !is_ios && !is_chromecast |
58 | 58 |
59 enable_plugin_installation = is_win || is_mac | 59 enable_plugin_installation = is_win || is_mac |
60 | 60 |
61 enable_app_list = is_chromeos | 61 enable_app_list = is_chromeos |
62 | 62 |
63 enable_supervised_users = !is_ios | 63 enable_supervised_users = !is_ios && !is_chromecast |
64 | 64 |
65 enable_remoting = !is_ios && !is_chromecast | 65 enable_remoting = !is_ios && !is_chromecast |
66 | 66 |
67 # Enable hole punching for the protected video. | 67 # Enable hole punching for the protected video. |
68 enable_video_hole = is_android | 68 enable_video_hole = is_android |
69 | 69 |
70 # Enables browser side Content Decryption Modules. Required for embedders | 70 # Enables browser side Content Decryption Modules. Required for embedders |
71 # (e.g. Android and ChromeCast) that use a browser side CDM. | 71 # (e.g. Android and ChromeCast) that use a browser side CDM. |
72 enable_browser_cdms = is_android || is_chromecast | 72 enable_browser_cdms = is_android || is_chromecast |
73 | 73 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 use_brlapi = is_chromeos | 170 use_brlapi = is_chromeos |
171 | 171 |
172 # Enable WebVR support by default on Android | 172 # Enable WebVR support by default on Android |
173 # Still requires command line flag to access API | 173 # Still requires command line flag to access API |
174 enable_webvr = is_android | 174 enable_webvr = is_android |
175 | 175 |
176 enable_configuration_policy = !is_ios | 176 enable_configuration_policy = !is_ios |
177 | 177 |
178 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build | 178 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build |
179 enable_mac_crash_collection = is_mac && is_chrome_branded && is_official_build | 179 enable_mac_crash_collection = is_mac && is_chrome_branded && is_official_build |
OLD | NEW |