OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright (c) 2011 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 'chdir.c', | 9 'chdir.c', |
10 'chmod.c', | 10 'chmod.c', |
11 'chown.c', | 11 'chown.c', |
12 'endpwent.c', | 12 'endpwent.c', |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 'ttyname_r.c', | 79 'ttyname_r.c', |
80 'umask.c', | 80 'umask.c', |
81 'unlink.c', | 81 'unlink.c', |
82 'utime.c', | 82 'utime.c', |
83 'utimes.c', | 83 'utimes.c', |
84 'vfork.c', | 84 'vfork.c', |
85 'wait.c', | 85 'wait.c', |
86 'waitpid.c', | 86 'waitpid.c', |
87 ] | 87 ] |
88 | 88 |
89 libnosys = env.ComponentLibrary('libnosys', sources) | 89 libnosys = env.NaClSdkLibrary( |
| 90 'libnosys', |
| 91 sources, |
| 92 # only enable shared versions of this library in the shared newlib case |
| 93 no_shared_lib=not env.Bit('pnacl_shared_newlib')) |
90 env.AddLibraryToSdk(libnosys) | 94 env.AddLibraryToSdk(libnosys) |
OLD | NEW |