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

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

Issue 2815453004: For building v8 using gn on aix_ppc64, linux_s390x and linux_ppc64. (Closed)
Patch Set: rebased, addressed reviews, added host_byteorder.gni. Created 3 years, 8 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
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
11 # legacy global #defines passed to the compiler (now replaced with generated 11 # legacy global #defines passed to the compiler (now replaced with generated
12 # buildflag headers -- see //build/buildflag_header.gni). 12 # buildflag headers -- see //build/buildflag_header.gni).
13 # 13 #
14 # There is more advice on where to put build flags in the "Build flag" section 14 # There is more advice on where to put build flags in the "Build flag" section
15 # of //build/config/BUILDCONFIG.gn. 15 # of //build/config/BUILDCONFIG.gn.
16 16
17 import("//build/config/chrome_build.gni") 17 import("//build/config/chrome_build.gni")
18 import("//build/config/chromecast_build.gni") 18 import("//build/config/chromecast_build.gni")
19 if (is_android) { 19 if (is_android) {
20 import("//build/config/android/config.gni") 20 import("//build/config/android/config.gni")
21 } 21 }
22 22
23 declare_args() { 23 declare_args() {
24 # Enables Native Client support. 24 # Enables Native Client support.
25 # Temporarily disable nacl on arm64 linux to get rid of compilation errors. 25 # Temporarily disable nacl on arm64 linux, ppc64 and s390x
26 # to get rid of compilation errors.
26 # TODO(mcgrathr): When mipsel-nacl-clang is available, drop the exclusion. 27 # TODO(mcgrathr): When mipsel-nacl-clang is available, drop the exclusion.
27 enable_nacl = !is_ios && !is_android && !is_chromecast && 28 enable_nacl =
28 current_cpu != "mipsel" && !(is_linux && target_cpu == "arm64") 29 !is_ios && !is_android && !is_chromecast && current_cpu != "mipsel" &&
30 !(is_linux && target_cpu == "arm64") && !is_power_or_z
Michael Achenbach 2017/04/25 14:08:30 Double-checking: Here's a subtle difference now to
rayb 2017/04/25 17:28:48 Form my understanding it's not supported on the ho
29 31
30 # Non-SFI is not yet supported on mipsel 32 # Non-SFI is not yet supported on mipsel
31 enable_nacl_nonsfi = current_cpu != "mipsel" 33 enable_nacl_nonsfi = current_cpu != "mipsel"
32 34
33 # Enables proprietary codecs and demuxers; e.g. H264, AAC, MP3, and MP4. 35 # Enables proprietary codecs and demuxers; e.g. H264, AAC, MP3, and MP4.
34 # We always build Google Chrome and Chromecast with proprietary codecs. 36 # We always build Google Chrome and Chromecast with proprietary codecs.
35 # 37 #
36 # Note: this flag is used by WebRTC which is DEPSed into Chrome. Moving it 38 # Note: this flag is used by WebRTC which is DEPSed into Chrome. Moving it
37 # out of //build will require using the build_overrides directory. 39 # out of //build will require using the build_overrides directory.
38 proprietary_codecs = is_chrome_branded || is_chromecast 40 proprietary_codecs = is_chrome_branded || is_chromecast
(...skipping 25 matching lines...) Expand all
64 use_gconf = is_linux && !is_chromeos && !is_chromecast 66 use_gconf = is_linux && !is_chromeos && !is_chromecast
65 67
66 use_gio = is_linux && !is_chromeos && !is_chromecast 68 use_gio = is_linux && !is_chromeos && !is_chromecast
67 } 69 }
68 # 70 #
69 # ============================================= 71 # =============================================
70 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE 72 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE
71 # ============================================= 73 # =============================================
72 # 74 #
73 # See comment at the top. 75 # See comment at the top.
OLDNEW
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | build/config/gcc/BUILD.gn » ('j') | build/config/ui.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698