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