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

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

Issue 2242893002: [MIPS] Adding NaCl/PNaCl support for mipsel to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix non Linux builds Created 4 years, 4 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/config/compiler/BUILD.gn ('k') | build/toolchain/nacl/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 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 16 matching lines...) Expand all
27 enable_extensions = !is_android && !is_ios 27 enable_extensions = !is_android && !is_ios
28 enable_plugins = (!is_android && !is_ios) || is_chromecast 28 enable_plugins = (!is_android && !is_ios) || is_chromecast
29 enable_pdf = !is_android && !is_ios && !is_chromecast 29 enable_pdf = !is_android && !is_ios && !is_chromecast
30 30
31 # Enables Native Client support. 31 # Enables Native Client support.
32 # Temporarily disable nacl on arm64 linux to get rid of compilation errors. 32 # Temporarily disable nacl on arm64 linux to get rid of compilation errors.
33 # TODO(mcgrathr): When mipsel-nacl-clang is available, drop the exclusion. 33 # TODO(mcgrathr): When mipsel-nacl-clang is available, drop the exclusion.
34 enable_nacl = !is_ios && !is_android && !is_chromecast && 34 enable_nacl = !is_ios && !is_android && !is_chromecast &&
35 current_cpu != "mipsel" && !(is_linux && target_cpu == "arm64") 35 current_cpu != "mipsel" && !(is_linux && target_cpu == "arm64")
36 36
37 # Non-SFI is not yet supported on mipsel
38 enable_nacl_nonsfi = current_cpu != "mipsel"
39
37 # If debug_devtools is set to true, JavaScript files for DevTools are stored 40 # If debug_devtools is set to true, JavaScript files for DevTools are stored
38 # as is and loaded from disk. Otherwise, a concatenated file is stored in 41 # as is and loaded from disk. Otherwise, a concatenated file is stored in
39 # resources.pak. It is still possible to load JS files from disk by passing 42 # resources.pak. It is still possible to load JS files from disk by passing
40 # --debug-devtools cmdline switch. 43 # --debug-devtools cmdline switch.
41 debug_devtools = false 44 debug_devtools = false
42 45
43 # Enables WebRTC. 46 # Enables WebRTC.
44 enable_webrtc = !is_ios 47 enable_webrtc = !is_ios
45 48
46 # Enables the Media Router. 49 # Enables the Media Router.
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 # Chrome OS: whether to also build the upcoming version of 173 # Chrome OS: whether to also build the upcoming version of
171 # ChromeVox, which can then be enabled via a command-line switch. 174 # ChromeVox, which can then be enabled via a command-line switch.
172 enable_chromevox_next = false 175 enable_chromevox_next = false
173 176
174 # Use brlapi from brltty for braille display support. 177 # Use brlapi from brltty for braille display support.
175 use_brlapi = is_chromeos 178 use_brlapi = is_chromeos
176 179
177 enable_configuration_policy = !is_ios 180 enable_configuration_policy = !is_ios
178 181
179 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build 182 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build
OLDNEW
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | build/toolchain/nacl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698