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

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

Issue 1700333002: Remove CLD_VERSION define. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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
« no previous file with comments | « build/config/BUILD.gn ('k') | no next file » | 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 Chrome-feature-related build flags (see ui.gni for 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 6 # UI-related ones). These should theoretically be moved to the build files of
7 # the features themselves. 7 # the features themselves.
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 to match the GYP configuration. Also, 10 # e.g. base, so they need to be global to match the GYP configuration. Also,
(...skipping 20 matching lines...) Expand all
31 # the commented out logic. 31 # the commented out logic.
32 # Eventually we want this to be: 32 # Eventually we want this to be:
33 # enable_nacl = !is_ios && !is_android 33 # enable_nacl = !is_ios && !is_android
34 enable_nacl = (is_linux && current_cpu == "x64") || is_nacl 34 enable_nacl = (is_linux && current_cpu == "x64") || is_nacl
35 enable_nacl_untrusted = enable_nacl 35 enable_nacl_untrusted = enable_nacl
36 enable_pnacl = enable_nacl_untrusted 36 enable_pnacl = enable_nacl_untrusted
37 } 37 }
38 38
39 # Additional dependent variables ----------------------------------------------- 39 # Additional dependent variables -----------------------------------------------
40 40
41 # Set the version of CLD.
42 # 0: Don't specify the version. This option is for the Finch testing.
43 # 1: Use only CLD1.
44 # 2: Use only CLD2.
45 if (is_android) {
46 cld_version = 1
47 } else {
48 cld_version = 2
49 }
50
51 # libudev usage. 41 # libudev usage.
52 use_udev = is_linux && !is_fnl 42 use_udev = is_linux && !is_fnl
53 43
54 # The seccomp-bpf sandbox is only supported on three architectures 44 # The seccomp-bpf sandbox is only supported on three architectures
55 # currently. 45 # currently.
56 # Do not disable seccomp_bpf anywhere without talking to 46 # Do not disable seccomp_bpf anywhere without talking to
57 # security@chromium.org! 47 # security@chromium.org!
58 use_seccomp_bpf = (is_linux || is_android) && 48 use_seccomp_bpf = (is_linux || is_android) &&
59 (current_cpu == "x86" || current_cpu == "x64" || 49 (current_cpu == "x86" || current_cpu == "x64" ||
60 current_cpu == "arm" || current_cpu == "mipsel") 50 current_cpu == "arm" || current_cpu == "mipsel")
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698