| OLD | NEW |
| 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 srpc_mf_obj = env.ComponentObject('srpc_manifest_file_test.o', | 8 srpc_mf_obj = env.ComponentObject('srpc_manifest_file_test.o', |
| 9 'srpc_manifest_file_test.c') | 9 'srpc_manifest_file_test.c') |
| 10 srpc_mf_nexe_name = 'srpc_manifest_file_test_%s' % env.get('TARGET_FULLARCH') | 10 srpc_mf_nexe_name = 'srpc_manifest_file_test_%s' % env.get('TARGET_FULLARCH') |
| 11 srpc_mf_nexe = env.ComponentProgram(srpc_mf_nexe_name, | 11 srpc_mf_nexe = env.ComponentProgram(srpc_mf_nexe_name, |
| 12 srpc_mf_obj, | 12 srpc_mf_obj, |
| 13 EXTRA_LIBS=[ | 13 EXTRA_LIBS=[ |
| 14 'srpc', | 14 'srpc', |
| 15 'platform', | 15 'platform', |
| 16 'gio', | 16 'gio', |
| 17 'imc', | 17 'imc', |
| 18 'imc_syscalls', | 18 'imc_syscalls', |
| 19 'pthread', | 19 '${PTHREAD_LIBS}', |
| 20 '${NON_PPAPI_BROWSER_LIBS}']) | 20 '${NON_PPAPI_BROWSER_LIBS}']) |
| 21 env.Publish(srpc_mf_nexe_name, 'run', | 21 env.Publish(srpc_mf_nexe_name, 'run', |
| 22 ['srpc_manifest_file_test.html', | 22 ['srpc_manifest_file_test.html', |
| 23 'srpc_manifest_file.nmf']) | 23 'srpc_manifest_file.nmf']) |
| 24 | 24 |
| 25 # chrome_browser_tests | 25 # chrome_browser_tests |
| 26 | 26 |
| 27 node = env.PPAPIBrowserTester( | 27 node = env.PPAPIBrowserTester( |
| 28 'srpc_mf_browser_test.out', | 28 'srpc_mf_browser_test.out', |
| 29 url='srpc_manifest_file_test.html', | 29 url='srpc_manifest_file_test.html', |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 files=env.ExtractPublishedFiles(pm_pi_mf_nexe_name), | 106 files=env.ExtractPublishedFiles(pm_pi_mf_nexe_name), |
| 107 args=['--debug'], | 107 args=['--debug'], |
| 108 # osenv=['NACLVERBOSITY=4,pp_weak_ref=4,weak_ref=4'] | 108 # osenv=['NACLVERBOSITY=4,pp_weak_ref=4,weak_ref=4'] |
| 109 ) | 109 ) |
| 110 | 110 |
| 111 if not env.Bit('irt'): | 111 if not env.Bit('irt'): |
| 112 env.AddNodeToTestSuite(node, | 112 env.AddNodeToTestSuite(node, |
| 113 ['chrome_browser_tests'], | 113 ['chrome_browser_tests'], |
| 114 'run_pm_pi_manifest_file_chrome_browser_test', | 114 'run_pm_pi_manifest_file_chrome_browser_test', |
| 115 is_broken=env.PPAPIBrowserTesterIsBroken()) | 115 is_broken=env.PPAPIBrowserTesterIsBroken()) |
| OLD | NEW |