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

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

Issue 7655003: Make chrome_browser_tests work with irt=0 again (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 9 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) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2011 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 platform 6 import platform
7 7
8 Import('env') 8 Import('env')
9 9
10 10
11 ###################################################################### 11 ######################################################################
12 # Publish nexes and corresponding html to scons-out/.../staging/ 12 # Publish nexes and corresponding html to scons-out/.../staging/
13 ###################################################################### 13 ######################################################################
14 14
15 srpc_test_objs = env.ComponentObject('srpc_test', 'srpc_test.c') 15 srpc_test_objs = env.ComponentObject('srpc_test', 'srpc_test.c')
16 srpc_test_libs = ['srpc', 'imc_syscalls', 'platform', 'gio', 'm'] 16 srpc_test_libs = ['srpc', 'imc_syscalls', 'platform', 'gio', 'm']
17 17
18 srpc_test_nexe_name = 'srpc_test_%s' % env.get('TARGET_FULLARCH') 18 srpc_test_nexe_name = 'srpc_test_%s' % env.get('TARGET_FULLARCH')
19 srpc_test_nexe = env.ComponentProgram( 19 srpc_test_nexe = env.ComponentProgram(
20 srpc_test_nexe_name, srpc_test_objs, 20 srpc_test_nexe_name, srpc_test_objs,
21 EXTRA_LIBS=srpc_test_libs + [ 21 EXTRA_LIBS=srpc_test_libs + [
22 '${NON_PPAPI_BROWSER_LIBS}', 22 '${NON_PPAPI_BROWSER_LIBS}',
23 'pthread']) 23 '${PTHREAD_LIBS}'])
24 env.Publish(srpc_test_nexe_name, 'run', 24 env.Publish(srpc_test_nexe_name, 'run',
25 ['srpc_basic.html', 25 ['srpc_basic.html',
26 'srpc_perf.html', 26 'srpc_perf.html',
27 'srpc_test.nmf']) 27 'srpc_test.nmf'])
28 28
29 srpc_test_nonbrowser = env.ComponentProgram( 29 srpc_test_nonbrowser = env.ComponentProgram(
30 'srpc_test_nonbrowser', srpc_test_objs, 30 'srpc_test_nonbrowser', srpc_test_objs,
31 EXTRA_LIBS=srpc_test_libs + ['${PTHREAD_LIBS}', '${NONIRT_LIBS}']) 31 EXTRA_LIBS=srpc_test_libs + ['${PTHREAD_LIBS}', '${NONIRT_LIBS}'])
32 32
33 33
34 srpc_nrd_server_nexe_name = ('srpc_nrd_server_%s' % 34 srpc_nrd_server_nexe_name = ('srpc_nrd_server_%s' %
35 env.get('TARGET_FULLARCH')) 35 env.get('TARGET_FULLARCH'))
36 srpc_nrd_server_nexe = env.ComponentProgram( 36 srpc_nrd_server_nexe = env.ComponentProgram(
37 srpc_nrd_server_nexe_name, 'srpc_nrd_server.c', 37 srpc_nrd_server_nexe_name, 'srpc_nrd_server.c',
38 EXTRA_LIBS=[ 38 EXTRA_LIBS=[
39 '${NON_PPAPI_BROWSER_LIBS}', 39 '${NON_PPAPI_BROWSER_LIBS}',
40 'srpc', 40 'srpc',
41 'imc_syscalls', 41 'imc_syscalls',
42 'platform', 42 'platform',
43 'gio', 43 'gio',
44 'm', 44 'm',
45 'pthread']) 45 '${PTHREAD_LIBS}'])
46 env.Publish(srpc_nrd_server_nexe_name, 'run', 46 env.Publish(srpc_nrd_server_nexe_name, 'run',
47 ['srpc_nrd_server.nmf']) 47 ['srpc_nrd_server.nmf'])
48 48
49 49
50 srpc_nrd_client_nexe_name = ('srpc_nrd_client_%s' % 50 srpc_nrd_client_nexe_name = ('srpc_nrd_client_%s' %
51 env.get('TARGET_FULLARCH')) 51 env.get('TARGET_FULLARCH'))
52 srpc_nrd_client_nexe = env.ComponentProgram( 52 srpc_nrd_client_nexe = env.ComponentProgram(
53 srpc_nrd_client_nexe_name, 'srpc_nrd_client.c', 53 srpc_nrd_client_nexe_name, 'srpc_nrd_client.c',
54 EXTRA_LIBS=[ 54 EXTRA_LIBS=[
55 '${NON_PPAPI_BROWSER_LIBS}', 55 '${NON_PPAPI_BROWSER_LIBS}',
56 'srpc', 56 'srpc',
57 'imc_syscalls', 57 'imc_syscalls',
58 'platform', 58 'platform',
59 'gio', 59 'gio',
60 'm', 60 'm',
61 'pthread']) 61 '${PTHREAD_LIBS}'])
62 env.Publish(srpc_nrd_client_nexe_name, 'run', 62 env.Publish(srpc_nrd_client_nexe_name, 'run',
63 ['srpc_nrd_xfer.html', 63 ['srpc_nrd_xfer.html',
64 'srpc_nrd_client.nmf', 64 'srpc_nrd_client.nmf',
65 srpc_nrd_server_nexe, 65 srpc_nrd_server_nexe,
66 'srpc_nrd_server.nmf']) 66 'srpc_nrd_server.nmf'])
67 67
68 68
69 cat_nexe_name = ('cat_%s' % env.get('TARGET_FULLARCH')) 69 cat_nexe_name = ('cat_%s' % env.get('TARGET_FULLARCH'))
70 cat_nexe = env.ComponentProgram( 70 cat_nexe = env.ComponentProgram(
71 cat_nexe_name, 'cat.c', 71 cat_nexe_name, 'cat.c',
72 EXTRA_LIBS=['${NON_PPAPI_BROWSER_LIBS}', 72 EXTRA_LIBS=['${NON_PPAPI_BROWSER_LIBS}',
73 'srpc', 'imc_syscalls', 'platform', 'gio', 'pthread']) 73 'srpc', 'imc_syscalls', 'platform', 'gio', '${PTHREAD_LIBS}'])
74 env.Publish(cat_nexe_name, 'run', 74 env.Publish(cat_nexe_name, 'run',
75 ['srpc_url_as_nacl_desc.html', 75 ['srpc_url_as_nacl_desc.html',
76 'srpc_url_as_nacl_desc_success.html', 76 'srpc_url_as_nacl_desc_success.html',
77 'cat.nmf']) 77 'cat.nmf'])
78 78
79 79
80 srpc_bidir_nexe_name = ('srpc_bidir_%s' % env.get('TARGET_FULLARCH')) 80 srpc_bidir_nexe_name = ('srpc_bidir_%s' % env.get('TARGET_FULLARCH'))
81 srpc_bidir_nexe = env.ComponentProgram( 81 srpc_bidir_nexe = env.ComponentProgram(
82 srpc_bidir_nexe_name, 'srpc_bidir.c', 82 srpc_bidir_nexe_name, 'srpc_bidir.c',
83 EXTRA_LIBS=['srpc', 'imc_syscalls', 'platform', 'gio', 'm', 'pthread']) 83 EXTRA_LIBS=['srpc', 'imc_syscalls', 'platform', 'gio', 'm', 'pthread'])
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 # TODO(sehr): fix this test on windows. 143 # TODO(sehr): fix this test on windows.
144 node = env.PPAPIBrowserTester( 144 node = env.PPAPIBrowserTester(
145 'srpc_url_as_nacl_desc_chrome_browser_test.out', 145 'srpc_url_as_nacl_desc_chrome_browser_test.out',
146 url='srpc_url_as_nacl_desc.html', 146 url='srpc_url_as_nacl_desc.html',
147 files=env.ExtractPublishedFiles(cat_nexe_name), 147 files=env.ExtractPublishedFiles(cat_nexe_name),
148 args=['--enable_experimental_js', '--allow_404']) 148 args=['--enable_experimental_js', '--allow_404'])
149 env.AddNodeToTestSuite(node, 149 env.AddNodeToTestSuite(node,
150 ['chrome_browser_tests'], 150 ['chrome_browser_tests'],
151 'run_srpc_url_as_nacl_desc_chrome_browser_test', 151 'run_srpc_url_as_nacl_desc_chrome_browser_test',
152 is_broken=env.PPAPIBrowserTesterIsBroken()) 152 is_broken=env.PPAPIBrowserTesterIsBroken())
OLDNEW
« SConstruct ('K') | « tests/ppapi_geturl/nacl.scons ('k') | tests/srpc_hw/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698