OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 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 sources = ['access.c', | 8 sources = ['access.c', |
9 'chmod.c', | 9 'chmod.c', |
10 'chown.c', | 10 'chown.c', |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 'ttyname.c', | 72 'ttyname.c', |
73 'ttyname_r.c', | 73 'ttyname_r.c', |
74 'umask.c', | 74 'umask.c', |
75 'utime.c', | 75 'utime.c', |
76 'utimes.c', | 76 'utimes.c', |
77 'vfork.c', | 77 'vfork.c', |
78 'wait.c', | 78 'wait.c', |
79 'waitpid.c', | 79 'waitpid.c', |
80 ] | 80 ] |
81 | 81 |
82 libnosys = env.NaClSdkLibrary( | 82 libnosys = env.ComponentLibrary('libnosys', sources) |
83 'libnosys', | |
84 sources, | |
85 # only enable shared versions of this library in the shared newlib case | |
86 no_shared_lib=not env.Bit('pnacl_shared_newlib')) | |
87 env.AddLibraryToSdk(libnosys) | 83 env.AddLibraryToSdk(libnosys) |
OLD | NEW |