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

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

Issue 142223002: Support -Goutput_dir=blahblah in GN-GYP hybrid mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: prefer command line over env if both are specified Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « build/all.gyp ('k') | build/gyp_chromium » ('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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 is_asan = false 70 is_asan = false
71 71
72 # Compile for Leak Sanitizer to find leaks. 72 # Compile for Leak Sanitizer to find leaks.
73 is_lsan = false 73 is_lsan = false
74 74
75 # Compile for Memory Sanitizer to find uninitialized reads. 75 # Compile for Memory Sanitizer to find uninitialized reads.
76 is_msan = false 76 is_msan = false
77 77
78 # Compile for Thread Sanitizer to find threading bugs. 78 # Compile for Thread Sanitizer to find threading bugs.
79 is_tsan = false 79 is_tsan = false
80
81 # When running in gyp-generating mode, this is the root of the build tree.
82 gyp_output_dir = "out"
80 } 83 }
81 84
82 # ============================================================================= 85 # =============================================================================
83 # OS DEFINITIONS 86 # OS DEFINITIONS
84 # ============================================================================= 87 # =============================================================================
85 # 88 #
86 # We set these various is_FOO booleans for convenience in writing OS-based 89 # We set these various is_FOO booleans for convenience in writing OS-based
87 # conditions. 90 # conditions.
88 # 91 #
89 # - is_android, is_chromeos, is_ios, and is_win should be obvious. 92 # - is_android, is_chromeos, is_ios, and is_win should be obvious.
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 } else if (is_android) { 435 } else if (is_android) {
433 host_toolchain = "//build/toolchain/linux:$build_cpu_arch" 436 host_toolchain = "//build/toolchain/linux:$build_cpu_arch"
434 set_default_toolchain("//build/toolchain/android:$cpu_arch") 437 set_default_toolchain("//build/toolchain/android:$cpu_arch")
435 } else if (is_linux) { 438 } else if (is_linux) {
436 host_toolchain = "//build/toolchain/linux:$build_cpu_arch" 439 host_toolchain = "//build/toolchain/linux:$build_cpu_arch"
437 set_default_toolchain("//build/toolchain/linux:$cpu_arch") 440 set_default_toolchain("//build/toolchain/linux:$cpu_arch")
438 } else if (is_mac || is_ios) { 441 } else if (is_mac || is_ios) {
439 host_toolchain = "//build/toolchain/mac:clang" 442 host_toolchain = "//build/toolchain/mac:clang"
440 set_default_toolchain(host_toolchain) 443 set_default_toolchain(host_toolchain)
441 } 444 }
OLDNEW
« no previous file with comments | « build/all.gyp ('k') | build/gyp_chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698