| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 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 # ppapi_geturl.html - test driver that loads the nexe and scripts it | 6 # ppapi_geturl.html - test driver that loads the nexe and scripts it |
| 7 # ppapi_geturl_success.html - to be url-loaded and displayed w/n driver html | 7 # ppapi_geturl_success.html - to be url-loaded and displayed w/n driver html |
| 8 # | 8 # |
| 9 # ppapi_geturl.cc - implementation of PPP interface | 9 # ppapi_geturl.cc - implementation of PPP interface |
| 10 # module.h/cc - implementation of PPP_Instance interface | 10 # module.h/cc - implementation of PPP_Instance interface |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 nexe = env.ProgramNameForNmf('ppapi_geturl') | 24 nexe = env.ProgramNameForNmf('ppapi_geturl') |
| 25 env.Alias('ppapi_geturl${PROGSUFFIX}', | 25 env.Alias('ppapi_geturl${PROGSUFFIX}', |
| 26 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe]) | 26 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe]) |
| 27 | 27 |
| 28 ppapi_geturl_nexe = env.ComponentProgram(nexe, | 28 ppapi_geturl_nexe = env.ComponentProgram(nexe, |
| 29 ['module.cc', | 29 ['module.cc', |
| 30 'ppapi_geturl.cc', | 30 'ppapi_geturl.cc', |
| 31 'url_load_request.cc', | 31 'url_load_request.cc', |
| 32 ], | 32 ], |
| 33 EXTRA_LIBS=['${PPAPI_LIBS}', | 33 EXTRA_LIBS=['ppapi', |
| 34 'platform']) | 34 'platform']) |
| 35 | 35 |
| 36 env.Publish(nexe, 'run', | 36 env.Publish(nexe, 'run', |
| 37 ['ppapi_geturl.html', | 37 ['ppapi_geturl.html', |
| 38 'ppapi_geturl_success.html']) | 38 'ppapi_geturl_success.html']) |
| 39 | 39 |
| 40 node = env.PPAPIBrowserTester('ppapi_geturl_browser_test.out', | 40 node = env.PPAPIBrowserTester('ppapi_geturl_browser_test.out', |
| 41 url='ppapi_geturl.html', | 41 url='ppapi_geturl.html', |
| 42 nmf_names=['ppapi_geturl'], | 42 nmf_names=['ppapi_geturl'], |
| 43 files=env.ExtractPublishedFiles(nexe), | 43 files=env.ExtractPublishedFiles(nexe), |
| 44 args=['--allow_404'], | 44 args=['--allow_404'], |
| 45 ) | 45 ) |
| 46 | 46 |
| 47 env.AddNodeToTestSuite(node, | 47 env.AddNodeToTestSuite(node, |
| 48 ['chrome_browser_tests'], | 48 ['chrome_browser_tests'], |
| 49 'run_ppapi_geturl_browser_test', | 49 'run_ppapi_geturl_browser_test', |
| 50 is_broken=env.PPAPIBrowserTesterIsBroken()) | 50 is_broken=env.PPAPIBrowserTesterIsBroken()) |
| OLD | NEW |