| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 enable_session_service = !is_android && !is_ios | 65 enable_session_service = !is_android && !is_ios |
| 66 | 66 |
| 67 enable_plugin_installation = is_win || is_mac | 67 enable_plugin_installation = is_win || is_mac |
| 68 | 68 |
| 69 enable_app_list = !is_ios && !is_android | 69 enable_app_list = !is_ios && !is_android |
| 70 | 70 |
| 71 enable_supervised_users = !is_ios | 71 enable_supervised_users = !is_ios |
| 72 | 72 |
| 73 enable_autofill_dialog = !is_ios | 73 enable_autofill_dialog = !is_ios |
| 74 | 74 |
| 75 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) | |
| 76 | |
| 77 enable_remoting = !is_ios && !is_chromecast && !is_headless | 75 enable_remoting = !is_ios && !is_chromecast && !is_headless |
| 78 | 76 |
| 79 # Enable hole punching for the protected video. | 77 # Enable hole punching for the protected video. |
| 80 enable_video_hole = is_android | 78 enable_video_hole = is_android |
| 81 | 79 |
| 82 # Enables browser side Content Decryption Modules. Required for embedders | 80 # Enables browser side Content Decryption Modules. Required for embedders |
| 83 # (e.g. Android and ChromeCast) that use a browser side CDM. | 81 # (e.g. Android and ChromeCast) that use a browser side CDM. |
| 84 enable_browser_cdms = is_android || is_chromecast | 82 enable_browser_cdms = is_android || is_chromecast |
| 85 | 83 |
| 86 # Hangout services is an extension that adds extra features to Hangouts. | 84 # Hangout services is an extension that adds extra features to Hangouts. |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 | 177 |
| 180 # Option controlling the use of GConf (the classic GNOME configuration | 178 # Option controlling the use of GConf (the classic GNOME configuration |
| 181 # system). | 179 # system). |
| 182 use_gconf = is_linux && !is_chromeos && !is_chromecast && !is_headless | 180 use_gconf = is_linux && !is_chromeos && !is_chromecast && !is_headless |
| 183 | 181 |
| 184 # Enable WebVR support by default on Android | 182 # Enable WebVR support by default on Android |
| 185 # Still requires command line flag to access API | 183 # Still requires command line flag to access API |
| 186 enable_webvr = is_android | 184 enable_webvr = is_android |
| 187 | 185 |
| 188 use_gio = is_linux && !is_chromeos && !is_chromecast && !is_headless | 186 use_gio = is_linux && !is_chromeos && !is_chromecast && !is_headless |
| OLD | NEW |