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

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

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/compiler/BUILD.gn ('k') | build/config/gcc/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 # 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 = (is_linux || is_android) && 77 use_seccomp_bpf = (is_linux || is_android) &&
78 (cpu_arch == "x86" || cpu_arch == "x64" || cpu_arch == "arm") 78 (cpu_arch == "x86" || cpu_arch == "x64" || cpu_arch == "arm")
79 79
80 # Enable notifications everywhere except iOS. 80 # Enable notifications everywhere except iOS.
81 enable_notifications = !is_ios 81 enable_notifications = !is_ios
82 82
83 # TODO(brettw) this should be moved to net and only dependents get this define. 83 # TODO(brettw) this should be moved to net and only dependents get this define.
84 disable_ftp_support = is_ios 84 disable_ftp_support = is_ios
85 85
86 enable_web_speech = (!is_android && !is_ios) 86 enable_web_speech = !is_android && !is_ios
87 87
88 use_dbus = is_linux 88 use_dbus = is_linux
89 89
90 enable_extensions = (!is_android && !is_ios) 90 enable_extensions = !is_android && !is_ios
91 91
92 # Variable safe_browsing is used to control the build time configuration for 92 # Variable safe_browsing is used to control the build time configuration for
93 # safe browsing feature. Safe browsing can be compiled in 3 different levels: 0 93 # safe browsing feature. Safe browsing can be compiled in 3 different levels: 0
94 # disables it, 1 enables it fully, and 2 enables only UI and reporting features 94 # disables it, 1 enables it fully, and 2 enables only UI and reporting features
95 # without enabling phishing and malware detection. This is useful to integrate 95 # without enabling phishing and malware detection. This is useful to integrate
96 # a third party phishing/malware detection to existing safe browsing logic. 96 # a third party phishing/malware detection to existing safe browsing logic.
97 if (is_ios) { 97 if (is_android) {
98 safe_browsing_mode = 2
99 } else if (is_ios) {
98 safe_browsing_mode = 0 100 safe_browsing_mode = 0
99 } else { 101 } else {
100 safe_browsing_mode = 1 102 safe_browsing_mode = 1
101 } 103 }
102 104
103 enable_configuration_policy = true 105 enable_configuration_policy = true
104 106
105 # Enables support for background apps. 107 # Enables support for background apps.
106 enable_background = !is_ios && !is_android 108 enable_background = !is_ios && !is_android
107 109
(...skipping 14 matching lines...) Expand all
122 124
123 # Whether we are using the rlz library or not. Platforms like Android send 125 # Whether we are using the rlz library or not. Platforms like Android send
124 # rlz codes for searches but do not use the library. 126 # rlz codes for searches but do not use the library.
125 enable_rlz = is_chrome_branded && (is_win || is_mac || is_ios || is_chromeos) 127 enable_rlz = is_chrome_branded && (is_win || is_mac || is_ios || is_chromeos)
126 128
127 enable_plugin_installation = is_win || is_mac 129 enable_plugin_installation = is_win || is_mac
128 130
129 enable_app_list = !is_ios && !is_android 131 enable_app_list = !is_ios && !is_android
130 enable_settings_app = enable_app_list && !is_chromeos 132 enable_settings_app = enable_app_list && !is_chromeos
131 133
132 enable_managed_users = !is_ios 134 enable_supervised_users = !is_ios
133 135
134 enable_service_discovery = enable_mdns || is_mac 136 enable_service_discovery = enable_mdns || is_mac
135 137
136 enable_autofill_dialog = !is_ios && !(is_android && is_android_webview_build) 138 enable_autofill_dialog = !is_ios && !(is_android && is_android_webview_build)
137 139
138 enable_wifi_bootstrapping = is_win || is_mac 140 enable_wifi_bootstrapping = is_win || is_mac
139 141
140 # Image loader extension is enabled on ChromeOS only. 142 # Image loader extension is enabled on ChromeOS only.
141 enable_image_loader_extension = is_chromeos 143 enable_image_loader_extension = is_chromeos
142 144
143 enable_remoting = !is_ios && !is_android 145 enable_remoting = !is_ios && !is_android
144 146
145 enable_google_now = !is_ios && !is_android 147 enable_google_now = !is_ios && !is_android
146 148
147 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) 149 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos)
148 150
149 # Chrome OS: whether to also build the upcoming version of 151 # Chrome OS: whether to also build the upcoming version of
150 # ChromeVox, which can then be enabled via a command-line switch. 152 # ChromeVox, which can then be enabled via a command-line switch.
151 enable_chromevox_next = false 153 enable_chromevox_next = false
152 154
153 # Use brlapi from brltty for braille display support. 155 # Use brlapi from brltty for braille display support.
154 use_brlapi = is_chromeos 156 use_brlapi = is_chromeos
155 157
156 # Option controlling the use of GConf (the classic GNOME configuration 158 # Option controlling the use of GConf (the classic GNOME configuration
157 # system). 159 # system).
158 # TODO(GYP) also require !embedded to enable. 160 # TODO(GYP) also require !embedded to enable.
159 use_gconf = is_linux && !is_chromeos 161 use_gconf = is_linux && !is_chromeos
162
163 # Hangout services is an extension that adds extra features to Hangouts.
164 # For official GYP builds, this flag is set, it will likely need to be
165 # parameterized in the future for a similar use.
166 enable_hangout_services_extension = false
OLDNEW
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | build/config/gcc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698