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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 # libudev usage. This currently only affects the content layer. | 56 # libudev usage. This currently only affects the content layer. |
57 use_udev = is_linux | 57 use_udev = is_linux |
58 | 58 |
59 # Enable the spell checker. | 59 # Enable the spell checker. |
60 enable_spellcheck = !is_android | 60 enable_spellcheck = !is_android |
61 | 61 |
62 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) | 62 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) |
63 | 63 |
64 enable_browser_cdms = is_android | 64 enable_browser_cdms = is_android |
65 | 65 |
66 # Enable printing support and UI. This variable is used to configure which | 66 # Enable printing support and UI. |
67 # parts of printing will be built. 0 disables printing completely, 1 enables it | 67 enable_basic_printing = true |
68 # fully, and 2 enables only the codepath to generate a Metafile (e.g. usually | 68 enable_print_preview = !is_android |
69 # a PDF or EMF) and disables print preview, cloud print, UI, etc. | |
70 if (is_android) { | |
71 printing_mode = 2 | |
72 } else { | |
73 printing_mode = 1 | |
74 } | |
75 | 69 |
76 # The seccomp-bpf sandbox is only supported on three architectures | 70 # The seccomp-bpf sandbox is only supported on three architectures |
77 # currently. | 71 # currently. |
78 # Do not disable seccomp_bpf anywhere without talking to | 72 # Do not disable seccomp_bpf anywhere without talking to |
79 # security@chromium.org! | 73 # security@chromium.org! |
80 use_seccomp_bpf = (is_linux || is_android) && | 74 use_seccomp_bpf = (is_linux || is_android) && |
81 (cpu_arch == "x86" || cpu_arch == "x64" || cpu_arch == "arm") | 75 (cpu_arch == "x86" || cpu_arch == "x64" || cpu_arch == "arm") |
82 | 76 |
83 # Enable notifications everywhere except Android/iOS. | 77 # Enable notifications everywhere except Android/iOS. |
84 # Android is http://crbug.com/115320 | 78 # Android is http://crbug.com/115320 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 # ChromeVox, which can then be enabled via a command-line switch. | 161 # ChromeVox, which can then be enabled via a command-line switch. |
168 enable_chromevox_next = false | 162 enable_chromevox_next = false |
169 | 163 |
170 # Use brlapi from brltty for braille display support. | 164 # Use brlapi from brltty for braille display support. |
171 use_brlapi = is_chromeos | 165 use_brlapi = is_chromeos |
172 | 166 |
173 # Option controlling the use of GConf (the classic GNOME configuration | 167 # Option controlling the use of GConf (the classic GNOME configuration |
174 # system). | 168 # system). |
175 # TODO(GYP) also require !embedded to enable. | 169 # TODO(GYP) also require !embedded to enable. |
176 use_gconf = is_linux && !is_chromeos | 170 use_gconf = is_linux && !is_chromeos |
OLD | NEW |