| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 87 |
| 88 use_dbus = is_linux | 88 use_dbus = is_linux |
| 89 | 89 |
| 90 enable_extensions = (!is_android && !is_ios) | 90 enable_extensions = (!is_android && !is_ios) |
| 91 | 91 |
| 92 # Variable safe_browsing is used to control the build time configuration for | 92 # Variable safe_browsing is used to control the build time configuration for |
| 93 # safe browsing feature. Safe browsing can be compiled in 3 different levels: 0 | 93 # safe browsing feature. Safe browsing can be compiled in 3 different levels: 0 |
| 94 # disables it, 1 enables it fully, and 2 enables only UI and reporting features | 94 # disables it, 1 enables it fully, and 2 enables only UI and reporting features |
| 95 # without enabling phishing and malware detection. This is useful to integrate | 95 # without enabling phishing and malware detection. This is useful to integrate |
| 96 # a third party phishing/malware detection to existing safe browsing logic. | 96 # a third party phishing/malware detection to existing safe browsing logic. |
| 97 if (is_android) { | 97 if (is_ios) { |
| 98 safe_browsing_mode = 2 | |
| 99 } else if (is_ios) { | |
| 100 safe_browsing_mode = 0 | 98 safe_browsing_mode = 0 |
| 101 } else { | 99 } else { |
| 102 safe_browsing_mode = 1 | 100 safe_browsing_mode = 1 |
| 103 } | 101 } |
| 104 | 102 |
| 105 enable_configuration_policy = true | 103 enable_configuration_policy = true |
| 106 | 104 |
| 107 # Enables support for background apps. | 105 # Enables support for background apps. |
| 108 enable_background = !is_ios && !is_android | 106 enable_background = !is_ios && !is_android |
| 109 | 107 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 # ChromeVox, which can then be enabled via a command-line switch. | 150 # ChromeVox, which can then be enabled via a command-line switch. |
| 153 enable_chromevox_next = false | 151 enable_chromevox_next = false |
| 154 | 152 |
| 155 # Use brlapi from brltty for braille display support. | 153 # Use brlapi from brltty for braille display support. |
| 156 use_brlapi = is_chromeos | 154 use_brlapi = is_chromeos |
| 157 | 155 |
| 158 # Option controlling the use of GConf (the classic GNOME configuration | 156 # Option controlling the use of GConf (the classic GNOME configuration |
| 159 # system). | 157 # system). |
| 160 # TODO(GYP) also require !embedded to enable. | 158 # TODO(GYP) also require !embedded to enable. |
| 161 use_gconf = is_linux && !is_chromeos | 159 use_gconf = is_linux && !is_chromeos |
| OLD | NEW |