| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 78 |
| 79 enable_remoting = !is_ios && !is_android | 79 enable_remoting = !is_ios && !is_android |
| 80 | 80 |
| 81 # Enable hole punching for the protected video. | 81 # Enable hole punching for the protected video. |
| 82 enable_video_hole = is_android | 82 enable_video_hole = is_android |
| 83 | 83 |
| 84 # Enables browser side Content Decryption Modules. Required for embedders | 84 # Enables browser side Content Decryption Modules. Required for embedders |
| 85 # (e.g. Android and ChromeCast) that use a browser side CDM. | 85 # (e.g. Android and ChromeCast) that use a browser side CDM. |
| 86 enable_browser_cdms = is_android | 86 enable_browser_cdms = is_android |
| 87 | 87 |
| 88 # Variable safe_browsing is used to control the build time configuration for | 88 # Variable safe_browsing is used to control the build time configuration |
| 89 # safe browsing feature. Safe browsing can be compiled in 3 different levels: | 89 # for safe browsing feature. Safe browsing can be compiled in 4 different |
| 90 # 0 disables it, 1 enables it fully, and 2 enables only UI and reporting | 90 # levels: 0 disables it, 1 enables it fully, and 2 enables only UI and |
| 91 # features without enabling phishing and malware detection. This is useful to | 91 # reporting features for use with Data Saver on Mobile, and 3 enables |
| 92 # integrate a third party phishing/malware detection to existing safe browsing | 92 # extended mobile protection via an external API. When 3 is fully deployed, |
| 93 # logic. | 93 # it will replace 2. |
| 94 if (is_android) { | 94 if (is_android) { |
| 95 safe_browsing_mode = 2 | 95 safe_browsing_mode = 2 |
| 96 } else if (is_ios) { | 96 } else if (is_ios) { |
| 97 safe_browsing_mode = 0 | 97 safe_browsing_mode = 0 |
| 98 } else { | 98 } else { |
| 99 safe_browsing_mode = 1 | 99 safe_browsing_mode = 1 |
| 100 } | 100 } |
| 101 } | 101 } |
| 102 | 102 |
| 103 # Additional dependent variables ----------------------------------------------- | 103 # Additional dependent variables ----------------------------------------------- |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 # TODO(GYP) also require !embedded to enable. | 183 # TODO(GYP) also require !embedded to enable. |
| 184 use_gconf = is_linux && !is_chromeos | 184 use_gconf = is_linux && !is_chromeos |
| 185 | 185 |
| 186 # Hangout services is an extension that adds extra features to Hangouts. | 186 # Hangout services is an extension that adds extra features to Hangouts. |
| 187 # For official GYP builds, this flag is set, it will likely need to be | 187 # For official GYP builds, this flag is set, it will likely need to be |
| 188 # parameterized in the future for a similar use. | 188 # parameterized in the future for a similar use. |
| 189 enable_hangout_services_extension = false | 189 enable_hangout_services_extension = false |
| 190 | 190 |
| 191 # Whether to back up data before sync. | 191 # Whether to back up data before sync. |
| 192 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 192 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
| OLD | NEW |