| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # Copyright (c) 2014 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2014 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 Import('env') | 6 Import('env') |
| 7 | 7 |
| 8 # Doing the following in irt/nacl.scons does not work because it would | 8 if not env.Bit('posix') or not env.Bit('minsfi'): |
| 9 # not get applied to Scons's nacl_env. | 9 Return() |
| 10 env.AddHeaderToSdk(['irt.h', 'irt_dev.h'], subdir=None) | 10 |
| 11 env.ComponentLibrary('minsfi_runtime', [ |
| 12 'entry.c', |
| 13 'loader.c', |
| 14 'state.c', |
| 15 ]) |
| OLD | NEW |