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