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

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

Issue 7108031: this patch adds the manifest proxy server to sel_ldr and the manifest (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 6 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('env') 6 Import('env')
7 7
8 env.ComponentProgram('nameservice_test.nexe', 8 env.ComponentProgram('nameservice_test.nexe',
9 'nameservice_test.c', 9 'nameservice_test.c',
10 EXTRA_LIBS=['srpc', 'imc_syscalls', 10 EXTRA_LIBS=['srpc', 'imc_syscalls',
11 'platform', 'gio', 'pthread']) 11 'platform', 'gio', 'pthread'])
12 node = env.CommandSelLdrTestNacl( 12 node = env.CommandSelLdrTestNacl(
13 'nameservice_test.out', 13 'nameservice_test.out',
14 command=[env.File('nameservice_test.nexe')]) 14 command=[env.File('nameservice_test.nexe')])
15 env.AddNodeToTestSuite(node, ['small_tests'], 'run_nameservice_test') 15 env.AddNodeToTestSuite(node, ['small_tests'], 'run_nameservice_test')
16
17 srpc_ns_obj = env.ComponentObject('srpc_nameservice_test.o',
18 'srpc_nameservice_test.c')
19 srpc_ns_nexe_name = 'srpc_nameservice_test_%s.nexe' % env.get('TARGET_FULLARCH')
noelallen_use_chromium 2011/06/14 02:25:45 Why uniquify the nexe name? Won't it go into scon
bsy 2011/06/14 20:30:03 see srpc_hw. that is where this is cargo-culted f
20 srpc_ns_nexe = env.ComponentProgram(srpc_ns_nexe_name,
noelallen_use_chromium 2011/06/14 02:25:45 Should have Nick dbl check this.
bsy 2011/06/14 20:30:03 are you asking me to ask nick? fewer redirects, p
21 srpc_ns_obj,
22 EXTRA_LIBS=[
23 'srpc',
24 'platform',
25 'gio',
26 'imc',
27 'imc_syscalls',
28 'pthread',
29 '${NON_PPAPI_BROWSER_LIBS}'])
30 env.Publish(srpc_ns_nexe_name, 'run',
31 ['srpc_nameservice_test.html',
32 'srpc_nameservice.nmf'])
33
34 env.AddPrebuiltBinaryToRepository(srpc_ns_nexe)
35
36 # chrome_browser_tests
37
38 node = env.PPAPIBrowserTester(
39 'srpc_ns_browser_test.out',
40 url='srpc_nameservice_test.html',
41 files=env.ExtractPublishedFiles(srpc_ns_nexe_name),
42 args=['--debug', '--enable_experimental_js'])
43
44 env.AddNodeToTestSuite(node,
45 ['chrome_browser_tests'],
46 'run_srpc_nameservice_chrome_browser_test',
47 is_broken=env.PPAPIBrowserTesterIsBroken())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698