| 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. |
| 119 assert(current_cpu == cpu_arch) |
| 124 assert(current_os == os) | 120 assert(current_os == os) |
| 125 | 121 |
| 126 # ============================================================================= | 122 # ============================================================================= |
| 127 # OS DEFINITIONS | 123 # OS DEFINITIONS |
| 128 # ============================================================================= | 124 # ============================================================================= |
| 129 # | 125 # |
| 130 # We set these various is_FOO booleans for convenience in writing OS-based | 126 # We set these various is_FOO booleans for convenience in writing OS-based |
| 131 # conditions. | 127 # conditions. |
| 132 # | 128 # |
| 133 # - is_android, is_chromeos, is_ios, and is_win should be obvious. | 129 # - 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... |
| 755 } | 751 } |
| 756 if (defined(invoker.testonly)) { | 752 if (defined(invoker.testonly)) { |
| 757 testonly = invoker.testonly | 753 testonly = invoker.testonly |
| 758 } | 754 } |
| 759 if (defined(invoker.visibility)) { | 755 if (defined(invoker.visibility)) { |
| 760 visibility = invoker.visibility | 756 visibility = invoker.visibility |
| 761 } | 757 } |
| 762 } | 758 } |
| 763 } | 759 } |
| 764 } | 760 } |
| OLD | NEW |