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

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

Issue 1310513006: Adding components to dependencies on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleaning code. Created 5 years, 3 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.gn ('k') | chrome/version.gni » ('j') | components/BUILD.gn » ('J')
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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 # libudev usage. This currently only affects the content layer. 138 # libudev usage. This currently only affects the content layer.
139 use_udev = is_linux 139 use_udev = is_linux
140 140
141 # Enable the spell checker. 141 # Enable the spell checker.
142 enable_spellcheck = !is_ios 142 enable_spellcheck = !is_ios
143 143
144 # Use the operating system's spellchecker rather than hunspell. 144 # Use the operating system's spellchecker rather than hunspell.
145 use_browser_spellchecker = is_android || is_mac 145 use_browser_spellchecker = is_android || is_mac
146 146
147 # Enable basic printing support and UI. 147 # Enable basic printing support and UI.
148 enable_basic_printing = !is_chromeos 148 enable_basic_printing = !is_chromeos && !is_ios
149 149
150 # Enable printing with print preview. It does not imply 150 # Enable printing with print preview. It does not imply
151 # enable_basic_printing. It's possible to build Chrome with preview only. 151 # enable_basic_printing. It's possible to build Chrome with preview only.
152 enable_print_preview = !is_android 152 enable_print_preview = !is_android && !is_ios
153 153
154 # The seccomp-bpf sandbox is only supported on three architectures 154 # The seccomp-bpf sandbox is only supported on three architectures
155 # currently. 155 # currently.
156 # Do not disable seccomp_bpf anywhere without talking to 156 # Do not disable seccomp_bpf anywhere without talking to
157 # security@chromium.org! 157 # security@chromium.org!
158 use_seccomp_bpf = (is_linux || is_android) && 158 use_seccomp_bpf = (is_linux || is_android) &&
159 (current_cpu == "x86" || current_cpu == "x64" || 159 (current_cpu == "x86" || current_cpu == "x64" ||
160 current_cpu == "arm" || current_cpu == "mipsel") 160 current_cpu == "arm" || current_cpu == "mipsel")
161 161
162 # Enable notifications everywhere except iOS. 162 # Enable notifications everywhere except iOS.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 # system). 205 # system).
206 # TODO(GYP) also require !embedded to enable. 206 # TODO(GYP) also require !embedded to enable.
207 use_gconf = is_linux && !is_chromeos 207 use_gconf = is_linux && !is_chromeos
208 208
209 # Whether to back up data before sync. 209 # Whether to back up data before sync.
210 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) 210 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos)
211 211
212 # Enable WebVR support by default on Android 212 # Enable WebVR support by default on Android
213 # Still requires command line flag to access API 213 # Still requires command line flag to access API
214 enable_webvr = is_android 214 enable_webvr = is_android
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | chrome/version.gni » ('j') | components/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698