| 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 # TODO(mseaborn): Enable -Wstrict-prototypes here. Currently | 9 # TODO(mseaborn): Enable -Wstrict-prototypes here. Currently |
| 10 # dlmalloc/malloc.c does not build with this warning. | 10 # dlmalloc/malloc.c does not build with this warning. |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 'irt_cond.c', | 40 'irt_cond.c', |
| 41 'irt_sem.c', | 41 'irt_sem.c', |
| 42 'irt_tls.c', | 42 'irt_tls.c', |
| 43 'irt_blockhook.c', | 43 'irt_blockhook.c', |
| 44 'irt_clock.c', | 44 'irt_clock.c', |
| 45 'irt_dev_getpid.c', | 45 'irt_dev_getpid.c', |
| 46 'irt_exception_handling.c', | 46 'irt_exception_handling.c', |
| 47 'irt_dev_list_mappings.c', | 47 'irt_dev_list_mappings.c', |
| 48 'irt_nameservice.c', | 48 'irt_nameservice.c', |
| 49 'irt_random.c', | 49 'irt_random.c', |
| 50 'irt_instance.c', |
| 50 ] | 51 ] |
| 51 | 52 |
| 52 # These are the objects and libraries that go into every IRT image. | 53 # These are the objects and libraries that go into every IRT image. |
| 53 irt_support_objs = [blob_env.ComponentObject(x) for x in | 54 irt_support_objs = [blob_env.ComponentObject(x) for x in |
| 54 (irt_support_sources + irt_common_interfaces)] | 55 (irt_support_sources + irt_common_interfaces)] |
| 55 | 56 |
| 56 # We also get nc_init_private.c, nc_thread.c and nc_tsd.c via | 57 # We also get nc_init_private.c, nc_thread.c and nc_tsd.c via |
| 57 # #includes of .c files. | 58 # #includes of .c files. |
| 58 irt_support_objs += [ | 59 irt_support_objs += [ |
| 59 blob_env.ComponentObject(module, | 60 blob_env.ComponentObject(module, |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 and not env.Bit('built_elsewhere')): | 114 and not env.Bit('built_elsewhere')): |
| 114 check_tls_arch = '${TARGET_FULLARCH}' | 115 check_tls_arch = '${TARGET_FULLARCH}' |
| 115 if env.Bit('build_arm'): | 116 if env.Bit('build_arm'): |
| 116 check_tls_arch = 'arm' | 117 check_tls_arch = 'arm' |
| 117 node = env.CommandTest('irt_core_tls_test.out', | 118 node = env.CommandTest('irt_core_tls_test.out', |
| 118 ['${PYTHON}', env.File('check_tls.py'), | 119 ['${PYTHON}', env.File('check_tls.py'), |
| 119 check_tls_arch, '${OBJDUMP}', irt_core_library], | 120 check_tls_arch, '${OBJDUMP}', irt_core_library], |
| 120 # don't run ${PYTHON} under the emulator. | 121 # don't run ${PYTHON} under the emulator. |
| 121 direct_emulation=False) | 122 direct_emulation=False) |
| 122 env.AddNodeToTestSuite(node, ['small_tests'], 'run_irt_core_tls_test') | 123 env.AddNodeToTestSuite(node, ['small_tests'], 'run_irt_core_tls_test') |
| OLD | NEW |