OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'includes': [ | 6 'includes': [ |
7 '../../../build/common.gypi', | 7 '../../../build/common.gypi', |
8 ], | 8 ], |
9 'variables': { | 9 'variables': { |
10 'common_sources': [ | 10 'common_sources': [ |
11 'nc_thread.c', | 11 'nc_thread.c', |
12 'nc_mutex.c', | 12 'nc_mutex.c', |
13 'nc_condvar.c', | 13 'nc_condvar.c', |
| 14 'nc_rwlock.c', |
14 'nc_semaphore.c', | 15 'nc_semaphore.c', |
15 'nc_init_irt.c', | 16 'nc_init_irt.c', |
16 'stack_end.c', | 17 'stack_end.c', |
17 '../valgrind/dynamic_annotations.c', | 18 '../valgrind/dynamic_annotations.c', |
18 ], | 19 ], |
19 }, | 20 }, |
20 'targets' : [ | 21 'targets' : [ |
21 { | 22 { |
22 'target_name': 'pthread_lib', | 23 'target_name': 'pthread_lib', |
23 'type': 'none', | 24 'type': 'none', |
24 'variables': { | 25 'variables': { |
25 'nlib_target': 'libpthread.a', | 26 'nlib_target': 'libpthread.a', |
26 'build_glibc': 0, | 27 'build_glibc': 0, |
27 'build_newlib': 1, | 28 'build_newlib': 1, |
28 'build_pnacl_newlib': 1, | 29 'build_pnacl_newlib': 1, |
29 }, | 30 }, |
30 'sources': ['<@(common_sources)'], | 31 'sources': ['<@(common_sources)'], |
31 'dependencies': [ | 32 'dependencies': [ |
32 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 33 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
33 ], | 34 ], |
34 }, | 35 }, |
35 ], | 36 ], |
36 } | 37 } |
OLD | NEW |