| 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 29 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 # libudev usage. This currently only affects the content layer. | 41 # libudev usage. This currently only affects the content layer. |
| 42 use_udev = is_linux | 42 use_udev = is_linux |
| 43 | 43 |
| 44 # Enable the spell checker. | 44 # Enable the spell checker. |
| 45 enable_spellcheck = !is_android | 45 enable_spellcheck = !is_android |
| 46 | 46 |
| 47 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) | 47 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) |
| 48 | 48 |
| 49 # Enable basic printing support and UI. | 49 # Enable basic printing support and UI. |
| 50 enable_basic_printing = !is_chromeos | 50 enable_basic_printing = !is_chromeos_ui |
| 51 | 51 |
| 52 # Enable printing with print preview. It does not imply | 52 # Enable printing with print preview. It does not imply |
| 53 # enable_basic_printing. It's possible to build Chrome with preview only. | 53 # enable_basic_printing. It's possible to build Chrome with preview only. |
| 54 enable_print_preview = !is_android | 54 enable_print_preview = !is_android |
| 55 | 55 |
| 56 # The seccomp-bpf sandbox is only supported on three architectures | 56 # The seccomp-bpf sandbox is only supported on three architectures |
| 57 # currently. | 57 # currently. |
| 58 # Do not disable seccomp_bpf anywhere without talking to | 58 # Do not disable seccomp_bpf anywhere without talking to |
| 59 # security@chromium.org! | 59 # security@chromium.org! |
| 60 use_seccomp_bpf = | 60 use_seccomp_bpf = |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 # https://sites.google.com/a/chromium.org/dev/developers/how-tos/compact-langu
age-detector-cld-data-source-configuration | 105 # https://sites.google.com/a/chromium.org/dev/developers/how-tos/compact-langu
age-detector-cld-data-source-configuration |
| 106 cld2_data_source = "static" | 106 cld2_data_source = "static" |
| 107 | 107 |
| 108 # Enables support for background apps. | 108 # Enables support for background apps. |
| 109 enable_background = !is_ios && !is_android | 109 enable_background = !is_ios && !is_android |
| 110 | 110 |
| 111 enable_task_manager = !is_ios && !is_android | 111 enable_task_manager = !is_ios && !is_android |
| 112 | 112 |
| 113 use_cups = is_desktop_linux || is_mac | 113 use_cups = is_desktop_linux || is_mac |
| 114 | 114 |
| 115 enable_themes = !is_android && !is_chromeos | 115 enable_themes = !is_android && !is_chromeos_ui |
| 116 | 116 |
| 117 # TODO(scottmg) remove this when we've fixed printing. | 117 # TODO(scottmg) remove this when we've fixed printing. |
| 118 win_pdf_metafile_for_printing = true | 118 win_pdf_metafile_for_printing = true |
| 119 | 119 |
| 120 enable_captive_portal_detection = !is_android && !is_ios | 120 enable_captive_portal_detection = !is_android && !is_ios |
| 121 | 121 |
| 122 # Enables use of the session service, which is enabled by default. | 122 # Enables use of the session service, which is enabled by default. |
| 123 # Android stores them separately on the Java side. | 123 # Android stores them separately on the Java side. |
| 124 enable_session_service = !is_android && !is_ios | 124 enable_session_service = !is_android && !is_ios |
| 125 | 125 |
| 126 # Whether we are using the rlz library or not. Platforms like Android send | 126 # Whether we are using the rlz library or not. Platforms like Android send |
| 127 # rlz codes for searches but do not use the library. | 127 # rlz codes for searches but do not use the library. |
| 128 enable_rlz = is_chrome_branded && (is_win || is_mac || is_ios || is_chromeos) | 128 enable_rlz = is_chrome_branded && (is_win || is_mac || is_ios || is_chromeos_ui) |
| 129 | 129 |
| 130 enable_plugin_installation = is_win || is_mac | 130 enable_plugin_installation = is_win || is_mac |
| 131 | 131 |
| 132 enable_app_list = !is_ios && !is_android | 132 enable_app_list = !is_ios && !is_android |
| 133 | 133 |
| 134 enable_managed_users = !is_ios | 134 enable_managed_users = !is_ios |
| 135 | 135 |
| 136 enable_service_discovery = enable_mdns || is_mac | 136 enable_service_discovery = enable_mdns || is_mac |
| 137 | 137 |
| 138 enable_autofill_dialog = !is_ios && !is_android | 138 enable_autofill_dialog = !is_ios && !is_android |
| 139 | 139 |
| 140 enable_wifi_bootstrapping = is_win || is_mac | 140 enable_wifi_bootstrapping = is_win || is_mac |
| OLD | NEW |