Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: src/untrusted/irt/nacl.scons

Issue 10834447: Scons: Drop the uses_ppapi argument from CommandSelLdrTestNacl() (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: initial Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 29 matching lines...) Expand all
40 'irt_thread.c', 40 'irt_thread.c',
41 'irt_mutex.c', 41 'irt_mutex.c',
42 'irt_cond.c', 42 'irt_cond.c',
43 'irt_sem.c', 43 'irt_sem.c',
44 'irt_tls.c', 44 'irt_tls.c',
45 'irt_blockhook.c', 45 'irt_blockhook.c',
46 'irt_clock.c', 46 'irt_clock.c',
47 'irt_dev_exception_handling.c', 47 'irt_dev_exception_handling.c',
48 'irt_nameservice.c', 48 'irt_nameservice.c',
49 'irt_random.c', 49 'irt_random.c',
50 'irt_manifest.c',
Nick Bray (chromium) 2012/08/22 22:24:13 Alphabetize. Or not.
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 23 matching lines...) Expand all
83 # sufficient because of link ordering issues. 84 # sufficient because of link ordering issues.
84 env.Replicate('${STAGING_DIR}', read_tp_obj) 85 env.Replicate('${STAGING_DIR}', read_tp_obj)
85 86
86 # Build a library so that irt_support_objs can be used in tests that 87 # Build a library so that irt_support_objs can be used in tests that
87 # cover IRT-internal code. 88 # cover IRT-internal code.
88 env.ComponentLibrary('libirt_support_private', irt_support_objs) 89 env.ComponentLibrary('libirt_support_private', irt_support_objs)
89 90
90 # These go into only one image or the other. 91 # These go into only one image or the other.
91 irt_nonbrowser = ['irt_interfaces.c', 92 irt_nonbrowser = ['irt_interfaces.c',
92 'irt_core_entry.c', 93 'irt_core_entry.c',
93 'irt_core_resource.c',
94 ] 94 ]
95 95
96 irt_browser = ['irt_interfaces_ppapi.c', 96 irt_browser = ['irt_interfaces_ppapi.c',
97 'irt_entry_ppapi.c', 97 'irt_entry_ppapi.c',
98 'irt_ppapi.c', 98 'irt_ppapi.c',
99 'irt_manifest.c',
100 ] 99 ]
101 100
102 irt_libs = ['srpc', 101 irt_libs = ['srpc',
103 'imc_syscalls', 102 'imc_syscalls',
104 'platform', 103 'platform',
105 'gio', 104 'gio',
106 'm', 105 'm',
107 ] 106 ]
108 107
109 def LinkIrt(output, files, libs): 108 def LinkIrt(output, files, libs):
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 # Holy cow it takes over 30 seconds to disassemble 145 # Holy cow it takes over 30 seconds to disassemble
147 # the ARM irt.nexe. Set test size to 'large'. 146 # the ARM irt.nexe. Set test size to 'large'.
148 size='large') 147 size='large')
149 env.AddNodeToTestSuite(node, ['small_tests'], 'run_irt_tls_test') 148 env.AddNodeToTestSuite(node, ['small_tests'], 'run_irt_tls_test')
150 node = env.CommandTest('irt_core_tls_test.out', 149 node = env.CommandTest('irt_core_tls_test.out',
151 ['${PYTHON}', env.File('check_tls.py'), 150 ['${PYTHON}', env.File('check_tls.py'),
152 check_tls_arch, '${OBJDUMP}', irt_core_library], 151 check_tls_arch, '${OBJDUMP}', irt_core_library],
153 # don't run ${PYTHON} under the emulator. 152 # don't run ${PYTHON} under the emulator.
154 direct_emulation=False) 153 direct_emulation=False)
155 env.AddNodeToTestSuite(node, ['small_tests'], 'run_irt_core_tls_test') 154 env.AddNodeToTestSuite(node, ['small_tests'], 'run_irt_core_tls_test')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698