| 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 # This is a C PPAPI-based version of ../npapi_geturl. | 6 # This is a C PPAPI-based version of ../npapi_geturl. |
| 7 # | 7 # |
| 8 # ppapi_geturl.html - test driver that loads the nexe and scripts it | 8 # ppapi_geturl.html - test driver that loads the nexe and scripts it |
| 9 # ppapi_geturl_success.html - to be url-loaded and displayed w/n driver html | 9 # ppapi_geturl_success.html - to be url-loaded and displayed w/n driver html |
| 10 # | 10 # |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 'url_load_request.cc', | 29 'url_load_request.cc', |
| 30 ], | 30 ], |
| 31 EXTRA_LIBS=[ | 31 EXTRA_LIBS=[ |
| 32 'nacl_file', | 32 'nacl_file', |
| 33 'ppruntime', | 33 'ppruntime', |
| 34 'srpc', | 34 'srpc', |
| 35 'imc', | 35 'imc', |
| 36 'imc_syscalls', | 36 'imc_syscalls', |
| 37 'platform', | 37 'platform', |
| 38 'gio', | 38 'gio', |
| 39 'pthread', | 39 '${PTHREAD_LIBS}', |
| 40 'm', | 40 'm', |
| 41 '${NON_PPAPI_BROWSER_LIBS}'], | 41 '${NON_PPAPI_BROWSER_LIBS}'], |
| 42 EXTRA_LINKFLAGS=['-Wl,--wrap=read', | 42 EXTRA_LINKFLAGS=['-Wl,--wrap=read', |
| 43 '-Wl,--wrap=open', | 43 '-Wl,--wrap=open', |
| 44 '-Wl,--wrap=lseek', | 44 '-Wl,--wrap=lseek', |
| 45 '-Wl,--wrap=close']) | 45 '-Wl,--wrap=close']) |
| 46 | 46 |
| 47 env.Publish(nexe, 'run', | 47 env.Publish(nexe, 'run', |
| 48 ['ppapi_geturl.html', | 48 ['ppapi_geturl.html', |
| 49 'ppapi_geturl.nmf', | 49 'ppapi_geturl.nmf', |
| 50 'ppapi_geturl_success.html']) | 50 'ppapi_geturl_success.html']) |
| 51 | 51 |
| 52 node = env.PPAPIBrowserTester('ppapi_geturl_browser_test.out', | 52 node = env.PPAPIBrowserTester('ppapi_geturl_browser_test.out', |
| 53 url='ppapi_geturl.html', | 53 url='ppapi_geturl.html', |
| 54 files=env.ExtractPublishedFiles(nexe), | 54 files=env.ExtractPublishedFiles(nexe), |
| 55 args=['--allow_404'], | 55 args=['--allow_404'], |
| 56 ) | 56 ) |
| 57 | 57 |
| 58 env.AddNodeToTestSuite(node, | 58 env.AddNodeToTestSuite(node, |
| 59 ['chrome_browser_tests'], | 59 ['chrome_browser_tests'], |
| 60 'run_ppapi_geturl_browser_test', | 60 'run_ppapi_geturl_browser_test', |
| 61 is_broken=env.PPAPIBrowserTesterIsBroken() | 61 is_broken=env.PPAPIBrowserTesterIsBroken() |
| 62 ) | 62 ) |
| OLD | NEW |