| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 } | 51 } |
| 52 | 52 |
| 53 # libudev usage. This currently only affects the content layer. | 53 # libudev usage. This currently only affects the content layer. |
| 54 use_udev = is_linux | 54 use_udev = is_linux |
| 55 | 55 |
| 56 # Enable the spell checker. | 56 # Enable the spell checker. |
| 57 enable_spellcheck = !is_android | 57 enable_spellcheck = !is_android |
| 58 | 58 |
| 59 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) | 59 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) |
| 60 | 60 |
| 61 enable_browser_cdms = is_android |
| 62 |
| 61 # Enable printing support and UI. This variable is used to configure which | 63 # Enable printing support and UI. This variable is used to configure which |
| 62 # parts of printing will be built. 0 disables printing completely, 1 enables it | 64 # parts of printing will be built. 0 disables printing completely, 1 enables it |
| 63 # fully, and 2 enables only the codepath to generate a Metafile (e.g. usually | 65 # fully, and 2 enables only the codepath to generate a Metafile (e.g. usually |
| 64 # a PDF or EMF) and disables print preview, cloud print, UI, etc. | 66 # a PDF or EMF) and disables print preview, cloud print, UI, etc. |
| 65 if (is_android) { | 67 if (is_android) { |
| 66 printing_mode = 2 | 68 printing_mode = 2 |
| 67 } else { | 69 } else { |
| 68 printing_mode = 1 | 70 printing_mode = 1 |
| 69 } | 71 } |
| 70 | 72 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 # ChromeVox, which can then be enabled via a command-line switch. | 164 # ChromeVox, which can then be enabled via a command-line switch. |
| 163 enable_chromevox_next = false | 165 enable_chromevox_next = false |
| 164 | 166 |
| 165 # Use brlapi from brltty for braille display support. | 167 # Use brlapi from brltty for braille display support. |
| 166 use_brlapi = is_chromeos | 168 use_brlapi = is_chromeos |
| 167 | 169 |
| 168 # Option controlling the use of GConf (the classic GNOME configuration | 170 # Option controlling the use of GConf (the classic GNOME configuration |
| 169 # system). | 171 # system). |
| 170 # TODO(GYP) also require !embedded to enable. | 172 # TODO(GYP) also require !embedded to enable. |
| 171 use_gconf = is_linux && !is_chromeos | 173 use_gconf = is_linux && !is_chromeos |
| OLD | NEW |