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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 # It is not set by default or on the command line. We treat is as a | 152 # It is not set by default or on the command line. We treat is as a |
153 # Posix variant. | 153 # Posix variant. |
154 is_android = false | 154 is_android = false |
155 is_chromeos = false | 155 is_chromeos = false |
156 is_ios = false | 156 is_ios = false |
157 is_linux = false | 157 is_linux = false |
158 is_mac = false | 158 is_mac = false |
159 is_nacl = true | 159 is_nacl = true |
160 is_posix = true | 160 is_posix = true |
161 is_win = false | 161 is_win = false |
| 162 |
| 163 # Component build never makes sense for the nacl toolchains. |
| 164 is_component_build = false |
162 } else if (current_os == "ios") { | 165 } else if (current_os == "ios") { |
163 is_android = false | 166 is_android = false |
164 is_chromeos = false | 167 is_chromeos = false |
165 is_ios = true | 168 is_ios = true |
166 is_linux = false | 169 is_linux = false |
167 is_mac = false | 170 is_mac = false |
168 is_nacl = false | 171 is_nacl = false |
169 is_posix = true | 172 is_posix = true |
170 is_win = false | 173 is_win = false |
171 } else if (current_os == "linux") { | 174 } else if (current_os == "linux") { |
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
718 } | 721 } |
719 if (defined(invoker.testonly)) { | 722 if (defined(invoker.testonly)) { |
720 testonly = invoker.testonly | 723 testonly = invoker.testonly |
721 } | 724 } |
722 if (defined(invoker.visibility)) { | 725 if (defined(invoker.visibility)) { |
723 visibility = invoker.visibility | 726 visibility = invoker.visibility |
724 } | 727 } |
725 } | 728 } |
726 } | 729 } |
727 } | 730 } |
OLD | NEW |