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

Side by Side Diff: tests/multiple_sandboxes/nacl.scons

Issue 10167012: Scons: Move some library dependency declarations into library_deps.py (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Tidy Created 8 years, 8 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
« no previous file with comments | « tests/minnacl/nacl.scons ('k') | tests/trusted_crash/osx_crash_filter/nacl.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # Copyright 2012 The Native Client Authors. All rights reserved. 2 # Copyright 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 Import('env') 6 Import('env')
7 7
8 # This test case tests an experimental use case for NaCl. If you make 8 # This test case tests an experimental use case for NaCl. If you make
9 # a change which breaks this test which is difficult to fix, you can 9 # a change which breaks this test which is difficult to fix, you can
10 # disable the test, but please CC mseaborn,krasin. 10 # disable the test, but please CC mseaborn,krasin.
11 11
12 if 'TRUSTED_ENV' not in env: 12 if 'TRUSTED_ENV' not in env:
13 Return() 13 Return()
14 trusted_env = env['TRUSTED_ENV'] 14 trusted_env = env['TRUSTED_ENV']
15 15
16 # This duplicates the library list in src/trusted/service_runtime/build.scons.
17 # We would not have to do this if we could get Scons to track dependencies
18 # between libraries.
19 runner = trusted_env.ComponentProgram( 16 runner = trusted_env.ComponentProgram(
20 'multidomain_test_host', ['multidomain_test_host.c'], 17 'multidomain_test_host', ['multidomain_test_host.c'],
21 EXTRA_LIBS=['sel', 18 EXTRA_LIBS=['sel', 'sel_debug_dummy'])
22 'sel_debug_dummy',
23 'manifest_proxy',
24 'simple_service',
25 'thread_interface',
26 'gio_wrapped_desc',
27 'nonnacl_srpc',
28 'nrd_xfer',
29 'nacl_perf_counter',
30 'nacl_base',
31 'imc',
32 'container',
33 'nacl_fault_inject',
34 'nacl_interval',
35 'platform',
36 'platform_qual_lib',
37 'gio',
38 ])
39 19
40 test_prog = env.ComponentProgram( 20 test_prog = env.ComponentProgram(
41 'multidomain_test_guest', ['multidomain_test_guest.c'], 21 'multidomain_test_guest', ['multidomain_test_guest.c'],
42 EXTRA_LIBS=['imc_syscalls', '${NONIRT_LIBS}']) 22 EXTRA_LIBS=['imc_syscalls', '${NONIRT_LIBS}'])
43 23
44 # If we are generating a pexe, translate it first 24 # If we are generating a pexe, translate it first
45 if env.Bit('pnacl_generate_pexe'): 25 if env.Bit('pnacl_generate_pexe'):
46 test_prog = env.GetTranslatedNexe(test_prog) 26 test_prog = env.GetTranslatedNexe(test_prog)
47 27
48 node = env.CommandTest('multidomain_test.out', [runner, test_prog], 28 node = env.CommandTest('multidomain_test.out', [runner, test_prog],
(...skipping 10 matching lines...) Expand all
59 # * multidomain_test_host assumes it is given a statically linked 39 # * multidomain_test_host assumes it is given a statically linked
60 # executable. Furthermore, statically-linked nacl-glibc does not 40 # executable. Furthermore, statically-linked nacl-glibc does not
61 # work here because of validation failures which require stubout 41 # work here because of validation failures which require stubout
62 # mode. 42 # mode.
63 is_broken = (env.Bit('build_arm') 43 is_broken = (env.Bit('build_arm')
64 or env.Bit('host_mac') 44 or env.Bit('host_mac')
65 or env.Bit('nacl_glibc')) 45 or env.Bit('nacl_glibc'))
66 46
67 env.AddNodeToTestSuite(node, ['small_tests'], 'run_multidomain_test', 47 env.AddNodeToTestSuite(node, ['small_tests'], 'run_multidomain_test',
68 is_broken=is_broken) 48 is_broken=is_broken)
OLDNEW
« no previous file with comments | « tests/minnacl/nacl.scons ('k') | tests/trusted_crash/osx_crash_filter/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698