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

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

Issue 287343006: ui/base and some other GN build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/BUILD.gn ('k') | build/util/BUILD.gn » ('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 29 matching lines...) Expand all
40 40
41 # Enable printing support and UI. This variable is used to configure which 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 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 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. 44 # a PDF or EMF) and disables print preview, cloud print, UI, etc.
45 if (is_android) { 45 if (is_android) {
46 enable_printing = 2 46 enable_printing = 2
47 } else { 47 } else {
48 enable_printing = 1 48 enable_printing = 1
49 } 49 }
50
51 # The seccomp-bpf sandbox is only supported on three architectures
52 # currently.
53 # Do not disable seccomp_bpf anywhere without talking to
54 # security@chromium.org!
55 use_seccomp_bpf = is_linux || is_android &&
scottmg 2014/05/20 19:06:02 parens around (linux | android) would be easier to
56 (cpu_arch == "x86" || cpu_arch == "x64" || cpu_arch == "arm")
57
58 enable_webrtc = !is_ios
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | build/util/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698