Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: build/config/features.gni

Issue 702023002: Renamed enable_printing and printing_mode in *.gyp* and .*gn* files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wed Nov 5 13:48:51 PST 2014 Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/config/BUILD.gn ('k') | build/secondary/tools/grit/grit_rule.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 basic 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
69 # a PDF or EMF) and disables print preview, cloud print, UI, etc. 69 # Enable printing with print preview. It does not imply
70 if (is_android) { 70 # enable_basic_printing. It's possible to build Chrome with preview only.
71 printing_mode = 2 71 enable_print_preview = !is_android
72 } else {
73 printing_mode = 1
74 }
75 72
76 # The seccomp-bpf sandbox is only supported on three architectures 73 # The seccomp-bpf sandbox is only supported on three architectures
77 # currently. 74 # currently.
78 # Do not disable seccomp_bpf anywhere without talking to 75 # Do not disable seccomp_bpf anywhere without talking to
79 # security@chromium.org! 76 # security@chromium.org!
80 use_seccomp_bpf = (is_linux || is_android) && 77 use_seccomp_bpf = (is_linux || is_android) &&
81 (cpu_arch == "x86" || cpu_arch == "x64" || cpu_arch == "arm") 78 (cpu_arch == "x86" || cpu_arch == "x64" || cpu_arch == "arm")
82 79
83 # Enable notifications everywhere except Android/iOS. 80 # Enable notifications everywhere except Android/iOS.
84 # Android is http://crbug.com/115320 81 # Android is http://crbug.com/115320
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 # ChromeVox, which can then be enabled via a command-line switch. 164 # ChromeVox, which can then be enabled via a command-line switch.
168 enable_chromevox_next = false 165 enable_chromevox_next = false
169 166
170 # Use brlapi from brltty for braille display support. 167 # Use brlapi from brltty for braille display support.
171 use_brlapi = is_chromeos 168 use_brlapi = is_chromeos
172 169
173 # Option controlling the use of GConf (the classic GNOME configuration 170 # Option controlling the use of GConf (the classic GNOME configuration
174 # system). 171 # system).
175 # TODO(GYP) also require !embedded to enable. 172 # TODO(GYP) also require !embedded to enable.
176 use_gconf = is_linux && !is_chromeos 173 use_gconf = is_linux && !is_chromeos
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | build/secondary/tools/grit/grit_rule.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698