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

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

Issue 170533003: GN: Work on Linux build defines (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Created 6 years, 10 months 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 | Annotate | Revision Log
« no previous file with comments | « build/config/crypto.gni ('k') | build/config/ui.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
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
7 # definitions.
8 #
9 # However, today we have many "bad" dependencies on some of these flags from,
10 # e.g. base, so they need to be global.
11 #
12 # See also build/config/ui.gni
13
14 declare_args() {
15 # Multicast DNS.
16 enable_mdns = is_win || is_linux
17
18 enable_plugins = !is_android || !is_ios
19 }
20
21 # Additional dependent variables -----------------------------------------------
22
23 # Set the version of CLD.
24 # 0: Don't specify the version. This option is for the Finch testing.
25 # 1: Use only CLD1.
26 # 2: Use only CLD2.
27 if (is_android || is_ios) {
28 cld_version = 1
29 } else {
30 cld_version = 2
31 }
32
33 # libudev usage. This currently only affects the content layer.
34 use_udev = is_linux
35
36 # Enable the spell checker.
37 enable_spellcheck = !is_android
38
39 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win)
40
41 # Enable printing support and UI. This variable is used to configure which
42 # parts of printing will be built. 0 disables printing completely, 1 enables it
43 # fully, and 2 enables only the codepath to generate a Metafile (e.g. usually
44 # a PDF or EMF) and disables print preview, cloud print, UI, etc.
45 if (is_android) {
46 enable_printing = 2
47 } else {
48 enable_printing = 1
49 }
OLDNEW
« no previous file with comments | « build/config/crypto.gni ('k') | build/config/ui.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698