2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
8 # postmessage version of srpc_nameservice_test
10 pm_ns_obj = env.ComponentObject('pm_nameservice_test.o',
11 'pm_nameservice_test.cc')
12 pm_ns_nexe_name = env.ProgramNameForNmf('pm_nameservice_test')
13 pm_ns_nexe = env.ComponentProgram(pm_ns_nexe_name,
15 EXTRA_LIBS=['nacl_ppapi_util',
24 env.Publish(pm_ns_nexe_name, 'run',
25 ['pm_nameservice_test.html'])
27 # chrome_browser_tests
29 node = env.PPAPIBrowserTester(
30 'pm_nameservice_browser_test.out',
31 url='pm_nameservice_test.html',
32 nmf_names=['pm_nameservice_test'],
33 files=env.ExtractPublishedFiles(pm_ns_nexe_name),
34 osenv=['NACLVERBOSITY=0:pp_weak_ref=0:weak_ref=0']
37 env.AddNodeToTestSuite(node,
38 ['chrome_browser_tests'],
39 'run_pm_nameservice_chrome_browser_test',
40 is_broken=env.PPAPIBrowserTesterIsBroken())