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

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

Issue 2495193003: Convert spellcheck to a buildflag header. (Closed)
Patch Set: Comment Created 4 years, 1 month 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') | chrome/browser/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 # ============================================= 5 # =============================================
6 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE 6 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE
7 # ============================================= 7 # =============================================
8 # 8 #
9 # These flags are effectively global. Your feature flag should go near the 9 # These flags are effectively global. Your feature flag should go near the
10 # code it controls. Most of these items are here now because they control 10 # code it controls. Most of these items are here now because they control
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 # Enable WebVR support by default on Android 81 # Enable WebVR support by default on Android
82 # Still requires command line flag to access API 82 # Still requires command line flag to access API
83 # TODO(bshe): Enable for other architecture too. Currently we only support arm 83 # TODO(bshe): Enable for other architecture too. Currently we only support arm
84 # and arm64. 84 # and arm64.
85 enable_webvr = is_android && is_component_build && 85 enable_webvr = is_android && is_component_build &&
86 (current_cpu == "arm" || current_cpu == "arm64") 86 (current_cpu == "arm" || current_cpu == "arm64")
87 } 87 }
88 88
89 # Additional dependent variables ----------------------------------------------- 89 # Additional dependent variables -----------------------------------------------
90 90
91 # Enable the spell checker.
92 enable_spellcheck = !is_ios
93
94 # Use the operating system's spellchecker rather than hunspell.
95 use_browser_spellchecker = is_android || is_mac
96
97 # The seccomp-bpf sandbox is only supported on five architectures 91 # The seccomp-bpf sandbox is only supported on five architectures
98 # currently. 92 # currently.
99 # Do not disable seccomp_bpf anywhere without talking to 93 # Do not disable seccomp_bpf anywhere without talking to
100 # security@chromium.org! 94 # security@chromium.org!
101 use_seccomp_bpf = 95 use_seccomp_bpf =
102 (is_linux || is_android) && 96 (is_linux || is_android) &&
103 (current_cpu == "x86" || current_cpu == "x64" || current_cpu == "arm" || 97 (current_cpu == "x86" || current_cpu == "x64" || current_cpu == "arm" ||
104 current_cpu == "arm64" || current_cpu == "mipsel") 98 current_cpu == "arm64" || current_cpu == "mipsel")
105 99
106 # Enable notifications everywhere except iOS. 100 # Enable notifications everywhere except iOS.
(...skipping 16 matching lines...) Expand all
123 117
124 enable_configuration_policy = !is_ios 118 enable_configuration_policy = !is_ios
125 119
126 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build 120 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build
127 # 121 #
128 # ============================================= 122 # =============================================
129 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE 123 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE
130 # ============================================= 124 # =============================================
131 # 125 #
132 # See comment at the top. 126 # See comment at the top.
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698