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 | 6 |
7 Import('env') | 7 Import('env') |
8 | 8 |
9 # This module shouldn't be built in an environment that uses glibc. | 9 # This module shouldn't be built in an environment that uses glibc. |
10 if env.Bit('nacl_glibc'): | 10 if env.Bit('nacl_glibc'): |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 'irt_dyncode.c', | 45 'irt_dyncode.c', |
46 'irt_thread.c', | 46 'irt_thread.c', |
47 'irt_mutex.c', | 47 'irt_mutex.c', |
48 'irt_cond.c', | 48 'irt_cond.c', |
49 'irt_sem.c', | 49 'irt_sem.c', |
50 'irt_tls.c', | 50 'irt_tls.c', |
51 'irt_blockhook.c', | 51 'irt_blockhook.c', |
52 'irt_clock.c', | 52 'irt_clock.c', |
53 'irt_dev_getpid.c', | 53 'irt_dev_getpid.c', |
54 'irt_dev_exception_handling.c', | 54 'irt_dev_exception_handling.c', |
| 55 'irt_dev_mprotect.c', |
55 'irt_nameservice.c', | 56 'irt_nameservice.c', |
56 'irt_random.c', | 57 'irt_random.c', |
57 ] | 58 ] |
58 | 59 |
59 # These are the objects and libraries that go into every IRT image. | 60 # These are the objects and libraries that go into every IRT image. |
60 irt_support_objs = [blob_env.ComponentObject(x) for x in | 61 irt_support_objs = [blob_env.ComponentObject(x) for x in |
61 (irt_support_sources + irt_common_interfaces)] | 62 (irt_support_sources + irt_common_interfaces)] |
62 | 63 |
63 # We also get nc_init_private.c, nc_thread.c and nc_tsd.c via | 64 # We also get nc_init_private.c, nc_thread.c and nc_tsd.c via |
64 # #includes of .c files. | 65 # #includes of .c files. |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 if env.Bit('bitcode'): | 142 if env.Bit('bitcode'): |
142 check_tls_arch = 'arm-pnacl' | 143 check_tls_arch = 'arm-pnacl' |
143 else: | 144 else: |
144 check_tls_arch = 'arm-gcc' | 145 check_tls_arch = 'arm-gcc' |
145 node = env.CommandTest('irt_core_tls_test.out', | 146 node = env.CommandTest('irt_core_tls_test.out', |
146 ['${PYTHON}', env.File('check_tls.py'), | 147 ['${PYTHON}', env.File('check_tls.py'), |
147 check_tls_arch, '${OBJDUMP}', irt_core_library], | 148 check_tls_arch, '${OBJDUMP}', irt_core_library], |
148 # don't run ${PYTHON} under the emulator. | 149 # don't run ${PYTHON} under the emulator. |
149 direct_emulation=False) | 150 direct_emulation=False) |
150 env.AddNodeToTestSuite(node, ['small_tests'], 'run_irt_core_tls_test') | 151 env.AddNodeToTestSuite(node, ['small_tests'], 'run_irt_core_tls_test') |
OLD | NEW |