| 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 UI-related build flags. It should theoretically be in the | 5 # This file contains UI-related build flags. It should theoretically be in the |
| 6 # src/ui directory and only things that depend on the ui module should get the | 6 # src/ui directory and only things that depend on the ui module should get the |
| 7 # definitions. | 7 # definitions. |
| 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. | 10 # e.g. base, so they need to be global. |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 enable_app_list = !is_ios && !is_android | 66 enable_app_list = !is_ios && !is_android |
| 67 | 67 |
| 68 enable_supervised_users = !is_ios | 68 enable_supervised_users = !is_ios |
| 69 | 69 |
| 70 enable_autofill_dialog = !is_ios && !(is_android && is_android_webview_build) | 70 enable_autofill_dialog = !is_ios && !(is_android && is_android_webview_build) |
| 71 | 71 |
| 72 enable_google_now = !is_ios && !is_android | 72 enable_google_now = !is_ios && !is_android |
| 73 | 73 |
| 74 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) | 74 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) |
| 75 |
| 76 enable_remoting = !is_ios && !is_android |
| 75 } | 77 } |
| 76 | 78 |
| 77 # Additional dependent variables ----------------------------------------------- | 79 # Additional dependent variables ----------------------------------------------- |
| 78 | 80 |
| 79 # Set the version of CLD. | 81 # Set the version of CLD. |
| 80 # 0: Don't specify the version. This option is for the Finch testing. | 82 # 0: Don't specify the version. This option is for the Finch testing. |
| 81 # 1: Use only CLD1. | 83 # 1: Use only CLD1. |
| 82 # 2: Use only CLD2. | 84 # 2: Use only CLD2. |
| 83 if (is_android) { | 85 if (is_android) { |
| 84 cld_version = 1 | 86 cld_version = 1 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 | 153 |
| 152 enable_settings_app = enable_app_list && !is_chromeos | 154 enable_settings_app = enable_app_list && !is_chromeos |
| 153 | 155 |
| 154 enable_service_discovery = enable_mdns || is_mac | 156 enable_service_discovery = enable_mdns || is_mac |
| 155 | 157 |
| 156 enable_wifi_bootstrapping = is_win || is_mac | 158 enable_wifi_bootstrapping = is_win || is_mac |
| 157 | 159 |
| 158 # Image loader extension is enabled on ChromeOS only. | 160 # Image loader extension is enabled on ChromeOS only. |
| 159 enable_image_loader_extension = is_chromeos | 161 enable_image_loader_extension = is_chromeos |
| 160 | 162 |
| 161 enable_remoting = !is_ios && !is_android | |
| 162 | |
| 163 # Chrome OS: whether to also build the upcoming version of | 163 # Chrome OS: whether to also build the upcoming version of |
| 164 # ChromeVox, which can then be enabled via a command-line switch. | 164 # ChromeVox, which can then be enabled via a command-line switch. |
| 165 enable_chromevox_next = false | 165 enable_chromevox_next = false |
| 166 | 166 |
| 167 # Use brlapi from brltty for braille display support. | 167 # Use brlapi from brltty for braille display support. |
| 168 use_brlapi = is_chromeos | 168 use_brlapi = is_chromeos |
| 169 | 169 |
| 170 enable_media_router = !is_ios && !is_android | 170 enable_media_router = !is_ios && !is_android |
| 171 | 171 |
| 172 # Option controlling the use of GConf (the classic GNOME configuration | 172 # Option controlling the use of GConf (the classic GNOME configuration |
| 173 # system). | 173 # system). |
| 174 # TODO(GYP) also require !embedded to enable. | 174 # TODO(GYP) also require !embedded to enable. |
| 175 use_gconf = is_linux && !is_chromeos | 175 use_gconf = is_linux && !is_chromeos |
| 176 | 176 |
| 177 # Hangout services is an extension that adds extra features to Hangouts. | 177 # Hangout services is an extension that adds extra features to Hangouts. |
| 178 # For official GYP builds, this flag is set, it will likely need to be | 178 # For official GYP builds, this flag is set, it will likely need to be |
| 179 # parameterized in the future for a similar use. | 179 # parameterized in the future for a similar use. |
| 180 enable_hangout_services_extension = false | 180 enable_hangout_services_extension = false |
| 181 | 181 |
| 182 # Whether to back up data before sync. | 182 # Whether to back up data before sync. |
| 183 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 183 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
| OLD | NEW |