| 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 toolchain("x86_newlib") { | 5 toolchain("x86_newlib") { |
| 6 toolprefix = "gen/sdk/toolchain/linux_x86_newlib/bin/x86_64-nacl-" | 6 toolprefix = "gen/sdk/toolchain/linux_x86_newlib/bin/x86_64-nacl-" |
| 7 cc = toolprefix + "gcc" | 7 cc = toolprefix + "gcc" |
| 8 cxx = toolprefix + "g++" | 8 cxx = toolprefix + "g++" |
| 9 ld = toolprefix + "g++" | 9 ld = toolprefix + "g++" |
| 10 | 10 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 } else { | 47 } else { |
| 48 tool("stamp") { | 48 tool("stamp") { |
| 49 command = "touch \$out" | 49 command = "touch \$out" |
| 50 description = "STAMP \$out" | 50 description = "STAMP \$out" |
| 51 } | 51 } |
| 52 } | 52 } |
| 53 | 53 |
| 54 toolchain_args() { | 54 toolchain_args() { |
| 55 # Override the default OS detection. The build config will set the is_* | 55 # Override the default OS detection. The build config will set the is_* |
| 56 # flags accordingly. | 56 # flags accordingly. |
| 57 current_os = "nacl" | 57 os = "nacl" |
| 58 | 58 |
| 59 # Component build not supported in NaCl, since it does not support shared | 59 # Component build not supported in NaCl, since it does not support shared |
| 60 # libraries. | 60 # libraries. |
| 61 is_component_build = false | 61 is_component_build = false |
| 62 } | 62 } |
| 63 } | 63 } |
| OLD | NEW |