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

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

Issue 2494183002: Remove some global defines and build flags. (Closed)
Patch Set: 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
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 } 90 }
91 91
92 # Additional dependent variables ----------------------------------------------- 92 # Additional dependent variables -----------------------------------------------
93 93
94 # Enable the spell checker. 94 # Enable the spell checker.
95 enable_spellcheck = !is_ios 95 enable_spellcheck = !is_ios
96 96
97 # Use the operating system's spellchecker rather than hunspell. 97 # Use the operating system's spellchecker rather than hunspell.
98 use_browser_spellchecker = is_android || is_mac 98 use_browser_spellchecker = is_android || is_mac
99 99
100 # Use Minikin hyphenation engine.
101 use_minikin_hyphenation = is_android
102
103 # The seccomp-bpf sandbox is only supported on five architectures 100 # The seccomp-bpf sandbox is only supported on five architectures
104 # currently. 101 # currently.
105 # Do not disable seccomp_bpf anywhere without talking to 102 # Do not disable seccomp_bpf anywhere without talking to
106 # security@chromium.org! 103 # security@chromium.org!
107 use_seccomp_bpf = 104 use_seccomp_bpf =
108 (is_linux || is_android) && 105 (is_linux || is_android) &&
109 (current_cpu == "x86" || current_cpu == "x64" || current_cpu == "arm" || 106 (current_cpu == "x86" || current_cpu == "x64" || current_cpu == "arm" ||
110 current_cpu == "arm64" || current_cpu == "mipsel") 107 current_cpu == "arm64" || current_cpu == "mipsel")
111 108
112 # Enable notifications everywhere except iOS. 109 # Enable notifications everywhere except iOS.
113 enable_notifications = !is_ios 110 enable_notifications = !is_ios
114 111
115 enable_web_speech = !is_android && !is_ios 112 enable_web_speech = !is_android && !is_ios
116 113
117 enable_task_manager = !is_ios && !is_android 114 enable_task_manager = !is_ios && !is_android
118 115
119 enable_themes = !is_android && !is_ios 116 enable_themes = !is_android && !is_ios
120 117
121 # Whether we are using the rlz library or not. Platforms like Android send 118 # Whether we are using the rlz library or not. Platforms like Android send
122 # rlz codes for searches but do not use the library. 119 # rlz codes for searches but do not use the library.
123 enable_rlz_support = is_win || is_mac || is_ios || is_chromeos 120 enable_rlz_support = is_win || is_mac || is_ios || is_chromeos
124 enable_rlz = is_chrome_branded && enable_rlz_support 121 enable_rlz = is_chrome_branded && enable_rlz_support
125 122
126 # Image loader extension is enabled on ChromeOS only.
127 enable_image_loader_extension = is_chromeos
128
129 # Chrome OS: whether to also build the upcoming version of 123 # Chrome OS: whether to also build the upcoming version of
130 # ChromeVox, which can then be enabled via a command-line switch. 124 # ChromeVox, which can then be enabled via a command-line switch.
131 enable_chromevox_next = false 125 enable_chromevox_next = false
132 126
133 # Use brlapi from brltty for braille display support. 127 # Use brlapi from brltty for braille display support.
134 use_brlapi = is_chromeos 128 use_brlapi = is_chromeos
135 129
136 enable_configuration_policy = !is_ios 130 enable_configuration_policy = !is_ios
137 131
138 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build 132 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build
139 # 133 #
140 # ============================================= 134 # =============================================
141 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE 135 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE
142 # ============================================= 136 # =============================================
143 # 137 #
144 # See comment at the top. 138 # See comment at the top.
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | chrome/browser/extensions/component_extensions_whitelist/whitelist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698