OLD | NEW |
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 106 |
107 # Compile for Thread Sanitizer to find threading bugs. | 107 # Compile for Thread Sanitizer to find threading bugs. |
108 is_tsan = false | 108 is_tsan = false |
109 | 109 |
110 if (current_os == "chromeos") { | 110 if (current_os == "chromeos") { |
111 # Allows the target toolchain to be injected as arguments. This is needed | 111 # Allows the target toolchain to be injected as arguments. This is needed |
112 # to support the CrOS build system which supports per-build-configuration | 112 # to support the CrOS build system which supports per-build-configuration |
113 # toolchains. | 113 # toolchains. |
114 cros_use_custom_toolchain = false | 114 cros_use_custom_toolchain = false |
115 } | 115 } |
116 | |
117 # TODO(brettw) remove this flag (and therefore enable linking all targets) on | |
118 # Windows when we have sufficient bot capacity. In the meantime, you can | |
119 # enable linking for local compiles. | |
120 link_chrome_on_windows = true | |
121 } | 116 } |
122 | 117 |
123 # TODO(dpranke): Remove these asserts when os and cpu_arch are removed. | 118 # TODO(dpranke): Remove these asserts when os and cpu_arch are removed. |
124 assert(current_cpu == cpu_arch) | 119 assert(current_cpu == cpu_arch) |
125 assert(current_os == os) | 120 assert(current_os == os) |
126 | 121 |
127 # ============================================================================= | 122 # ============================================================================= |
128 # OS DEFINITIONS | 123 # OS DEFINITIONS |
129 # ============================================================================= | 124 # ============================================================================= |
130 # | 125 # |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
756 } | 751 } |
757 if (defined(invoker.testonly)) { | 752 if (defined(invoker.testonly)) { |
758 testonly = invoker.testonly | 753 testonly = invoker.testonly |
759 } | 754 } |
760 if (defined(invoker.visibility)) { | 755 if (defined(invoker.visibility)) { |
761 visibility = invoker.visibility | 756 visibility = invoker.visibility |
762 } | 757 } |
763 } | 758 } |
764 } | 759 } |
765 } | 760 } |
OLD | NEW |