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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 enable_session_service = !is_android && !is_ios | 75 enable_session_service = !is_android && !is_ios |
76 | 76 |
77 enable_plugin_installation = is_win || is_mac | 77 enable_plugin_installation = is_win || is_mac |
78 | 78 |
79 enable_app_list = !is_ios && !is_android | 79 enable_app_list = !is_ios && !is_android |
80 | 80 |
81 enable_supervised_users = !is_ios | 81 enable_supervised_users = !is_ios |
82 | 82 |
83 enable_autofill_dialog = !is_ios | 83 enable_autofill_dialog = !is_ios |
84 | 84 |
85 enable_google_now = !is_ios && !is_android | |
86 | |
87 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) | 85 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) |
88 | 86 |
89 enable_remoting = !is_ios && !is_android && !is_chromecast && !is_headless | 87 enable_remoting = !is_ios && !is_android && !is_chromecast && !is_headless |
90 | 88 |
91 # Enable hole punching for the protected video. | 89 # Enable hole punching for the protected video. |
92 enable_video_hole = is_android | 90 enable_video_hole = is_android |
93 | 91 |
94 # Enables browser side Content Decryption Modules. Required for embedders | 92 # Enables browser side Content Decryption Modules. Required for embedders |
95 # (e.g. Android and ChromeCast) that use a browser side CDM. | 93 # (e.g. Android and ChromeCast) that use a browser side CDM. |
96 enable_browser_cdms = is_android || is_chromecast | 94 enable_browser_cdms = is_android || is_chromecast |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 196 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
199 | 197 |
200 # Enable WebVR support by default on Android | 198 # Enable WebVR support by default on Android |
201 # Still requires command line flag to access API | 199 # Still requires command line flag to access API |
202 enable_webvr = is_android | 200 enable_webvr = is_android |
203 | 201 |
204 use_gio = is_desktop_linux && !is_headless | 202 use_gio = is_desktop_linux && !is_headless |
205 | 203 |
206 # Chrome OS: whether to use ARC instances. Disabled by default. | 204 # Chrome OS: whether to use ARC instances. Disabled by default. |
207 enable_arc = false | 205 enable_arc = false |
OLD | NEW |