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

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

Issue 913373002: Update Chomium's build files to work w/ latest GN binaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn_cpu_arch_changes
Patch Set: merge to #317214 Created 5 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
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 enable_basic_printing = !is_chromeos 67 enable_basic_printing = !is_chromeos
68 68
69 # Enable printing with print preview. It does not imply 69 # Enable printing with print preview. It does not imply
70 # enable_basic_printing. It's possible to build Chrome with preview only. 70 # enable_basic_printing. It's possible to build Chrome with preview only.
71 enable_print_preview = !is_android 71 enable_print_preview = !is_android
72 72
73 # The seccomp-bpf sandbox is only supported on three architectures 73 # The seccomp-bpf sandbox is only supported on three architectures
74 # currently. 74 # currently.
75 # Do not disable seccomp_bpf anywhere without talking to 75 # Do not disable seccomp_bpf anywhere without talking to
76 # security@chromium.org! 76 # security@chromium.org!
77 use_seccomp_bpf = 77 use_seccomp_bpf = (is_linux || is_android) &&
78 (is_linux || is_android) && (cpu_arch == "x86" || cpu_arch == "x64" || 78 (current_cpu == "x86" || current_cpu == "x64" ||
79 cpu_arch == "arm" || cpu_arch == "mipsel") 79 current_cpu == "arm" || current_cpu == "mipsel")
80 80
81 # Enable notifications everywhere except iOS. 81 # Enable notifications everywhere except iOS.
82 enable_notifications = !is_ios 82 enable_notifications = !is_ios
83 83
84 # TODO(brettw) this should be moved to net and only dependents get this define. 84 # TODO(brettw) this should be moved to net and only dependents get this define.
85 disable_ftp_support = is_ios 85 disable_ftp_support = is_ios
86 86
87 enable_web_speech = !is_android && !is_ios 87 enable_web_speech = !is_android && !is_ios
88 88
89 use_dbus = is_linux 89 use_dbus = is_linux
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 158
159 # Option controlling the use of GConf (the classic GNOME configuration 159 # Option controlling the use of GConf (the classic GNOME configuration
160 # system). 160 # system).
161 # TODO(GYP) also require !embedded to enable. 161 # TODO(GYP) also require !embedded to enable.
162 use_gconf = is_linux && !is_chromeos 162 use_gconf = is_linux && !is_chromeos
163 163
164 # Hangout services is an extension that adds extra features to Hangouts. 164 # Hangout services is an extension that adds extra features to Hangouts.
165 # For official GYP builds, this flag is set, it will likely need to be 165 # For official GYP builds, this flag is set, it will likely need to be
166 # parameterized in the future for a similar use. 166 # parameterized in the future for a similar use.
167 enable_hangout_services_extension = false 167 enable_hangout_services_extension = false
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698