| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 69 |
| 70 # TODO(cjhopman): Make target_arch work for all platforms. | 70 # TODO(cjhopman): Make target_arch work for all platforms. |
| 71 | 71 |
| 72 # Architecture of the target device. For Android builds, this will be equal to | 72 # Architecture of the target device. For Android builds, this will be equal to |
| 73 # the cpu_arch of the default toolchain. When checking the CPU architecture | 73 # the cpu_arch of the default toolchain. When checking the CPU architecture |
| 74 # for source files and build dependencies you should almost alway use cpu_arch | 74 # for source files and build dependencies you should almost alway use cpu_arch |
| 75 # instead. cpu_arch is the architecture of the current toolchain and allows | 75 # instead. cpu_arch is the architecture of the current toolchain and allows |
| 76 # cross-compiles (compiling the same target for multiple toolchains in the | 76 # cross-compiles (compiling the same target for multiple toolchains in the |
| 77 # same build) to work. | 77 # same build) to work. |
| 78 target_arch = "arm" | 78 target_arch = "arm" |
| 79 |
| 80 # TODO(brettw) remove this flag (and therefore enable linking all targets) on |
| 81 # Windows when we have sufficient bot capacity. In the meantime, you can |
| 82 # enable linking for local compiles. |
| 83 link_chrome_on_windows = false |
| 79 } | 84 } |
| 80 | 85 |
| 81 # ============================================================================= | 86 # ============================================================================= |
| 82 # OS DEFINITIONS | 87 # OS DEFINITIONS |
| 83 # ============================================================================= | 88 # ============================================================================= |
| 84 # | 89 # |
| 85 # We set these various is_FOO booleans for convenience in writing OS-based | 90 # We set these various is_FOO booleans for convenience in writing OS-based |
| 86 # conditions. | 91 # conditions. |
| 87 # | 92 # |
| 88 # - is_android, is_chromeos, is_ios, and is_win should be obvious. | 93 # - 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... |
| 710 } | 715 } |
| 711 if (defined(invoker.testonly)) { | 716 if (defined(invoker.testonly)) { |
| 712 testonly = invoker.testonly | 717 testonly = invoker.testonly |
| 713 } | 718 } |
| 714 if (defined(invoker.visibility)) { | 719 if (defined(invoker.visibility)) { |
| 715 visibility = invoker.visibility | 720 visibility = invoker.visibility |
| 716 } | 721 } |
| 717 } | 722 } |
| 718 } | 723 } |
| 719 } | 724 } |
| OLD | NEW |