| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 # reporting features for use with Data Saver on Mobile, and 3 enables | 98 # reporting features for use with Data Saver on Mobile, and 3 enables |
| 99 # extended mobile protection via an external API. When 3 is fully deployed, | 99 # extended mobile protection via an external API. When 3 is fully deployed, |
| 100 # it will replace 2. | 100 # it will replace 2. |
| 101 if (is_android) { | 101 if (is_android) { |
| 102 safe_browsing_mode = 2 | 102 safe_browsing_mode = 2 |
| 103 } else if (is_ios) { | 103 } else if (is_ios) { |
| 104 safe_browsing_mode = 0 | 104 safe_browsing_mode = 0 |
| 105 } else { | 105 } else { |
| 106 safe_browsing_mode = 1 | 106 safe_browsing_mode = 1 |
| 107 } | 107 } |
| 108 |
| 109 # Set to true make a build that disables activation of field trial tests |
| 110 # specified in testing/variations/fieldtrial_testing_config_*.json. |
| 111 # Note: this setting is ignored if is_chrome_branded. |
| 112 fieldtrial_testing_like_official_build = is_chrome_branded |
| 108 } | 113 } |
| 109 | 114 |
| 110 # Additional dependent variables ----------------------------------------------- | 115 # Additional dependent variables ----------------------------------------------- |
| 111 | 116 |
| 112 # Set the version of CLD. | 117 # Set the version of CLD. |
| 113 # 0: Don't specify the version. This option is for the Finch testing. | 118 # 0: Don't specify the version. This option is for the Finch testing. |
| 114 # 1: Use only CLD1. | 119 # 1: Use only CLD1. |
| 115 # 2: Use only CLD2. | 120 # 2: Use only CLD2. |
| 116 if (is_android) { | 121 if (is_android) { |
| 117 cld_version = 1 | 122 cld_version = 1 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 # Hangout services is an extension that adds extra features to Hangouts. | 200 # Hangout services is an extension that adds extra features to Hangouts. |
| 196 # For official GYP builds, this flag is set, it will likely need to be | 201 # For official GYP builds, this flag is set, it will likely need to be |
| 197 # parameterized in the future for a similar use. | 202 # parameterized in the future for a similar use. |
| 198 enable_hangout_services_extension = false | 203 enable_hangout_services_extension = false |
| 199 | 204 |
| 200 # Whether to back up data before sync. | 205 # Whether to back up data before sync. |
| 201 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 206 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
| 202 | 207 |
| 203 # WebVR support disabled until platform implementations have been added | 208 # WebVR support disabled until platform implementations have been added |
| 204 enable_webvr = false | 209 enable_webvr = false |
| OLD | NEW |