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

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

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « build/config/crypto.gni ('k') | build/config/fnl/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
(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 Chrome-feature-related build flags (see ui.gni for
6 # UI-related ones). These should theoretically be moved to the build files of
7 # the features themselves.
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 to match the GYP configuration. Also,
11 # anything that needs a grit define must be in either this file or ui.gni.
12 #
13 # PLEASE TRY TO AVOID ADDING FLAGS TO THIS FILE in cases where grit isn't
14 # required. See the declare_args block of BUILDCONFIG.gn for advice on how
15 # to set up feature flags.
16
17 import("//build/config/chrome_build.gni")
18 if (is_android) {
19 import("//build/config/android/config.gni")
20 }
21
22 declare_args() {
23 # Enables Native Client support.
24 # TODO(GYP): Get NaCl linking on other platforms.
25 # Also, see if we can always get rid of enable_nacl_untrusted and
26 # enable_pnacl and always build them if enable_nacl is true.
27 # The "is_nacl" part of the condition is needed to ensure that
28 # the untrusted code is built properly; arguably it should be
29 # guarded by "is_nacl" directly rather than enable_nacl_untrusted, but
30 # this will go away when Mac and Win are working and we can just use
31 # the commented out logic.
32 # Eventually we want this to be:
33 # enable_nacl = !is_ios && !is_android
34 enable_nacl = (is_linux && current_cpu == "x64") || is_nacl
35 enable_nacl_untrusted = enable_nacl
36 enable_pnacl = enable_nacl_untrusted
37 }
38
39 # Additional dependent variables -----------------------------------------------
40
41 # libudev usage.
42 use_udev = is_linux && !is_fnl
43
44 # The seccomp-bpf sandbox is only supported on three architectures
45 # currently.
46 # Do not disable seccomp_bpf anywhere without talking to
47 # security@chromium.org!
48 use_seccomp_bpf = (is_linux || is_android) &&
49 (current_cpu == "x86" || current_cpu == "x64" ||
50 current_cpu == "arm" || current_cpu == "mipsel")
OLDNEW
« no previous file with comments | « build/config/crypto.gni ('k') | build/config/fnl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698