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

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

Issue 877553008: Land prep work to enable NaCl in the Linux x64 GN builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yet more feedback Created 5 years, 10 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 | « base/third_party/dynamic_annotations/BUILD.gn ('k') | build/config/features.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 (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 # BUILD FLAGS 6 # BUILD FLAGS
7 # ============================================================================= 7 # =============================================================================
8 # 8 #
9 # This block lists input arguments to the build, along with their default 9 # This block lists input arguments to the build, along with their default
10 # values. GN requires listing them explicitly so it can validate input and have 10 # values. GN requires listing them explicitly so it can validate input and have
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 } 541 }
542 if (is_chromeos && cros_use_custom_toolchain) { 542 if (is_chromeos && cros_use_custom_toolchain) {
543 set_default_toolchain("//build/toolchain/cros:target") 543 set_default_toolchain("//build/toolchain/cros:target")
544 } 544 }
545 } else if (is_mac) { 545 } else if (is_mac) {
546 host_toolchain = "//build/toolchain/mac:clang" 546 host_toolchain = "//build/toolchain/mac:clang"
547 set_default_toolchain(host_toolchain) 547 set_default_toolchain(host_toolchain)
548 } else if (is_ios) { 548 } else if (is_ios) {
549 host_toolchain = "//build/toolchain/mac:host_clang" 549 host_toolchain = "//build/toolchain/mac:host_clang"
550 set_default_toolchain("//build/toolchain/mac:clang") 550 set_default_toolchain("//build/toolchain/mac:clang")
551 } else if (is_nacl) {
552 # TODO(GYP): This will need to change when we get NaCl working
553 # on multiple platforms, but this whole block of code (how we define
554 # host_toolchain) needs to be reworked regardless to key off of build_os
555 # and build_cpu_arch rather than the is_* variables.
556 host_toolchain = "//build/toolchain/linux:clang_x64"
551 } 557 }
552 558
553 # ============================================================================== 559 # ==============================================================================
554 # COMPONENT SETUP 560 # COMPONENT SETUP
555 # ============================================================================== 561 # ==============================================================================
556 562
557 # TODO(brettw) erase this once the built-in "component" function is removed. 563 # TODO(brettw) erase this once the built-in "component" function is removed.
558 if (is_component_build) { 564 if (is_component_build) {
559 component_mode = "shared_library" 565 component_mode = "shared_library"
560 } else { 566 } else {
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 } 756 }
751 if (defined(invoker.testonly)) { 757 if (defined(invoker.testonly)) {
752 testonly = invoker.testonly 758 testonly = invoker.testonly
753 } 759 }
754 if (defined(invoker.visibility)) { 760 if (defined(invoker.visibility)) {
755 visibility = invoker.visibility 761 visibility = invoker.visibility
756 } 762 }
757 } 763 }
758 } 764 }
759 } 765 }
OLDNEW
« no previous file with comments | « base/third_party/dynamic_annotations/BUILD.gn ('k') | build/config/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698