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

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

Issue 2001523002: GYP changes for arm64 linux build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added comments related to disabling nacl and tcmalloc in GN files. Created 4 years, 6 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/config/sysroot.gni » ('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 11 matching lines...) Expand all
22 22
23 declare_args() { 23 declare_args() {
24 # Multicast DNS. 24 # Multicast DNS.
25 enable_mdns = is_win || is_linux 25 enable_mdns = is_win || is_linux
26 26
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 # TODO(mcgrathr): When mipsel-nacl-clang is available, drop the exclusion. 33 # TODO(mcgrathr): When mipsel-nacl-clang is available, drop the exclusion.
33 enable_nacl = 34 enable_nacl = !is_ios && !is_android && !is_chromecast &&
34 !is_ios && !is_android && !is_chromecast && current_cpu != "mipsel" 35 current_cpu != "mipsel" && !(is_linux && target_cpu == "arm64")
35 36
36 # If debug_devtools is set to true, JavaScript files for DevTools are stored 37 # If debug_devtools is set to true, JavaScript files for DevTools are stored
37 # as is and loaded from disk. Otherwise, a concatenated file is stored in 38 # as is and loaded from disk. Otherwise, a concatenated file is stored in
38 # resources.pak. It is still possible to load JS files from disk by passing 39 # resources.pak. It is still possible to load JS files from disk by passing
39 # --debug-devtools cmdline switch. 40 # --debug-devtools cmdline switch.
40 debug_devtools = false 41 debug_devtools = false
41 42
42 # Enables WebRTC. 43 # Enables WebRTC.
43 enable_webrtc = !is_ios 44 enable_webrtc = !is_ios
44 45
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 use_brlapi = is_chromeos 167 use_brlapi = is_chromeos
167 168
168 # Enable WebVR support by default on Android 169 # Enable WebVR support by default on Android
169 # Still requires command line flag to access API 170 # Still requires command line flag to access API
170 enable_webvr = is_android 171 enable_webvr = is_android
171 172
172 enable_configuration_policy = !is_ios 173 enable_configuration_policy = !is_ios
173 174
174 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build 175 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build
175 enable_mac_crash_collection = is_mac && is_chrome_branded && is_official_build 176 enable_mac_crash_collection = is_mac && is_chrome_branded && is_official_build
OLDNEW
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | build/config/sysroot.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698