| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 cros_use_custom_toolchain = false | 114 cros_use_custom_toolchain = false |
| 115 } | 115 } |
| 116 | 116 |
| 117 # TODO(brettw) remove this flag (and therefore enable linking all targets) on | 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 | 118 # Windows when we have sufficient bot capacity. In the meantime, you can |
| 119 # enable linking for local compiles. | 119 # enable linking for local compiles. |
| 120 link_chrome_on_windows = true | 120 link_chrome_on_windows = true |
| 121 } | 121 } |
| 122 | 122 |
| 123 # TODO(dpranke): Remove these asserts when os and cpu_arch are removed. | 123 # TODO(dpranke): Remove these asserts when os and cpu_arch are removed. |
| 124 assert(current_cpu == cpu_arch) | |
| 125 assert(current_os == os) | 124 assert(current_os == os) |
| 126 | 125 |
| 127 # ============================================================================= | 126 # ============================================================================= |
| 128 # OS DEFINITIONS | 127 # OS DEFINITIONS |
| 129 # ============================================================================= | 128 # ============================================================================= |
| 130 # | 129 # |
| 131 # We set these various is_FOO booleans for convenience in writing OS-based | 130 # We set these various is_FOO booleans for convenience in writing OS-based |
| 132 # conditions. | 131 # conditions. |
| 133 # | 132 # |
| 134 # - is_android, is_chromeos, is_ios, and is_win should be obvious. | 133 # - is_android, is_chromeos, is_ios, and is_win should be obvious. |
| (...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 } | 755 } |
| 757 if (defined(invoker.testonly)) { | 756 if (defined(invoker.testonly)) { |
| 758 testonly = invoker.testonly | 757 testonly = invoker.testonly |
| 759 } | 758 } |
| 760 if (defined(invoker.visibility)) { | 759 if (defined(invoker.visibility)) { |
| 761 visibility = invoker.visibility | 760 visibility = invoker.visibility |
| 762 } | 761 } |
| 763 } | 762 } |
| 764 } | 763 } |
| 765 } | 764 } |
| OLD | NEW |