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', | |
15 'nc_semaphore.c', | 14 'nc_semaphore.c', |
16 'nc_init_irt.c', | 15 'nc_init_irt.c', |
17 'stack_end.c', | 16 'stack_end.c', |
18 '../valgrind/dynamic_annotations.c', | 17 '../valgrind/dynamic_annotations.c', |
19 ], | 18 ], |
20 }, | 19 }, |
21 'targets' : [ | 20 'targets' : [ |
22 { | 21 { |
23 'target_name': 'pthread_lib', | 22 'target_name': 'pthread_lib', |
24 'type': 'none', | 23 'type': 'none', |
25 'variables': { | 24 'variables': { |
26 'nlib_target': 'libpthread.a', | 25 'nlib_target': 'libpthread.a', |
27 'build_glibc': 0, | 26 'build_glibc': 0, |
28 'build_newlib': 1, | 27 'build_newlib': 1, |
29 'build_pnacl_newlib': 1, | 28 'build_pnacl_newlib': 1, |
30 }, | 29 }, |
31 'sources': ['<@(common_sources)'], | 30 'sources': ['<@(common_sources)'], |
32 'dependencies': [ | 31 'dependencies': [ |
33 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 32 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
34 ], | 33 ], |
35 }, | 34 }, |
36 ], | 35 ], |
37 } | 36 } |
OLD | NEW |