| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 # Enable the spell checker. | 49 # Enable the spell checker. |
| 50 enable_spellcheck = !is_android | 50 enable_spellcheck = !is_android |
| 51 | 51 |
| 52 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) | 52 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) |
| 53 | 53 |
| 54 # Enable printing support and UI. This variable is used to configure which | 54 # Enable printing support and UI. This variable is used to configure which |
| 55 # parts of printing will be built. 0 disables printing completely, 1 enables it | 55 # parts of printing will be built. 0 disables printing completely, 1 enables it |
| 56 # fully, and 2 enables only the codepath to generate a Metafile (e.g. usually | 56 # fully, and 2 enables only the codepath to generate a Metafile (e.g. usually |
| 57 # a PDF or EMF) and disables print preview, cloud print, UI, etc. | 57 # a PDF or EMF) and disables print preview, cloud print, UI, etc. |
| 58 if (is_android) { | 58 if (is_android) { |
| 59 enable_printing = 2 | 59 printing_mode = 2 |
| 60 } else { | 60 } else { |
| 61 enable_printing = 1 | 61 printing_mode = 1 |
| 62 } | 62 } |
| 63 | 63 |
| 64 # The seccomp-bpf sandbox is only supported on three architectures | 64 # The seccomp-bpf sandbox is only supported on three architectures |
| 65 # currently. | 65 # currently. |
| 66 # Do not disable seccomp_bpf anywhere without talking to | 66 # Do not disable seccomp_bpf anywhere without talking to |
| 67 # security@chromium.org! | 67 # security@chromium.org! |
| 68 use_seccomp_bpf = (is_linux || is_android) && | 68 use_seccomp_bpf = (is_linux || is_android) && |
| 69 (cpu_arch == "x86" || cpu_arch == "x64" || cpu_arch == "arm") | 69 (cpu_arch == "x86" || cpu_arch == "x64" || cpu_arch == "arm") |
| 70 | 70 |
| 71 enable_webrtc = !is_ios | 71 enable_webrtc = !is_ios |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 enable_google_now = !is_ios && !is_android | 152 enable_google_now = !is_ios && !is_android |
| 153 | 153 |
| 154 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) | 154 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) |
| 155 | 155 |
| 156 # Chrome OS: whether to also build the upcoming version of | 156 # Chrome OS: whether to also build the upcoming version of |
| 157 # ChromeVox, which can then be enabled via a command-line switch. | 157 # ChromeVox, which can then be enabled via a command-line switch. |
| 158 enable_chromevox_next = false | 158 enable_chromevox_next = false |
| 159 | 159 |
| 160 # Use brlapi from brltty for braille display support. | 160 # Use brlapi from brltty for braille display support. |
| 161 use_brlapi = is_chromeos | 161 use_brlapi = is_chromeos |
| OLD | NEW |