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

Side by Side Diff: build/config/BUILDCONFIG.gn

Issue 2875553003: Add support for building v8 on mips and mips64 using GN. (Closed)
Patch Set: added cflags and removed nacl mips definition Created 3 years, 7 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/build_config.h ('k') | build/config/compiler/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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # WHAT IS THIS FILE? 6 # WHAT IS THIS FILE?
7 # ============================================================================= 7 # =============================================================================
8 # 8 #
9 # This is the master GN build configuration. This file is loaded after the 9 # This is the master GN build configuration. This file is loaded after the
10 # build args (args.gn) for the build directory and after the toplevel ".gn" 10 # build args (args.gn) for the build directory and after the toplevel ".gn"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 is_official_build = false 131 is_official_build = false
132 132
133 # Whether we're a traditional desktop unix. 133 # Whether we're a traditional desktop unix.
134 is_desktop_linux = current_os == "linux" 134 is_desktop_linux = current_os == "linux"
135 135
136 # Set to true when compiling with the Clang compiler. Typically this is used 136 # Set to true when compiling with the Clang compiler. Typically this is used
137 # to configure warnings. 137 # to configure warnings.
138 is_clang = 138 is_clang =
139 current_os == "mac" || current_os == "ios" || current_os == "chromeos" || 139 current_os == "mac" || current_os == "ios" || current_os == "chromeos" ||
140 (current_os == "linux" && current_cpu != "s390x" && 140 (current_os == "linux" && current_cpu != "s390x" &&
141 current_cpu != "s390" && current_cpu != "ppc64" && current_cpu != "ppc") 141 current_cpu != "s390" && current_cpu != "ppc64" &&
142 current_cpu != "ppc" && current_cpu != "mips" && current_cpu != "mips64")
142 143
143 # Allows the path to a custom target toolchain to be injected as a single 144 # Allows the path to a custom target toolchain to be injected as a single
144 # argument, and set as the default toolchain. 145 # argument, and set as the default toolchain.
145 custom_toolchain = "" 146 custom_toolchain = ""
146 147
147 # This should not normally be set as a build argument. It's here so that 148 # This should not normally be set as a build argument. It's here so that
148 # every toolchain can pass through the "global" value via toolchain_args(). 149 # every toolchain can pass through the "global" value via toolchain_args().
149 host_toolchain = "" 150 host_toolchain = ""
150 151
151 # DON'T ADD MORE FLAGS HERE. Read the comment above. 152 # DON'T ADD MORE FLAGS HERE. Read the comment above.
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 set_defaults("component") { 670 set_defaults("component") {
670 if (is_component_build) { 671 if (is_component_build) {
671 configs = default_shared_library_configs 672 configs = default_shared_library_configs
672 if (is_android) { 673 if (is_android) {
673 configs -= [ "//build/config/android:hide_all_but_jni_onload" ] 674 configs -= [ "//build/config/android:hide_all_but_jni_onload" ]
674 } 675 }
675 } else { 676 } else {
676 configs = default_compiler_configs 677 configs = default_compiler_configs
677 } 678 }
678 } 679 }
OLDNEW
« no previous file with comments | « build/build_config.h ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698