| 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 # |
| 11 # ppapi_geturl.cc - implementation of PPP interface | 11 # ppapi_geturl.cc - implementation of PPP interface |
| 12 # module.h/cc - implementation of PPP_Instance interface | 12 # module.h/cc - implementation of PPP_Instance interface |
| 13 # scriptable_object.h/cc - implementation of the scripting interface | 13 # scriptable_object.h/cc - implementation of the scripting interface |
| 14 # url_load_request.h/cc - url loading helper | 14 # url_load_request.h/cc - url loading helper |
| 15 # nacl_file_main.cc - uses main() to test NaClFile interface | 15 # nacl_file_main.cc - uses main() to test NaClFile interface |
| 16 | 16 |
| 17 Import('env') | 17 Import('env') |
| 18 | 18 |
| 19 env.Prepend(CPPDEFINES=['XP_UNIX']) | 19 env.Prepend(CPPDEFINES=['XP_UNIX']) |
| 20 | 20 |
| 21 ppapi_geturl_target = 'ppapi_geturl_%s.nexe' % env.get('TARGET_FULLARCH') | 21 ppapi_geturl_target = 'ppapi_geturl_%s' % env.get('TARGET_FULLARCH') |
| 22 env.Alias('ppapi_geturl.nexe', ['$STAGING_DIR/%s' % ppapi_geturl_target]) | 22 env.Alias('ppapi_geturl${PROGSUFFIX}', |
| 23 ['$STAGING_DIR/%s${PROGSUFFIX}' % ppapi_geturl_target]) |
| 23 | 24 |
| 24 ppapi_geturl_nexe = env.ComponentProgram(ppapi_geturl_target, | 25 ppapi_geturl_nexe = env.ComponentProgram(ppapi_geturl_target, |
| 25 ['nacl_file_main.cc', | 26 ['nacl_file_main.cc', |
| 26 'module.cc', | 27 'module.cc', |
| 27 'ppapi_geturl.cc', | 28 'ppapi_geturl.cc', |
| 28 'scriptable_object.cc', | 29 'scriptable_object.cc', |
| 29 'url_load_request.cc', | 30 'url_load_request.cc', |
| 30 ], | 31 ], |
| 31 EXTRA_LIBS=[ | 32 EXTRA_LIBS=[ |
| 32 'nacl_file', | 33 'nacl_file', |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/browserdata/' | 65 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/browserdata/' |
| 65 'nacltest.js'), | 66 'nacltest.js'), |
| 66 ], | 67 ], |
| 67 args=['--allow_404', '--enable_experimental_js'], | 68 args=['--allow_404', '--enable_experimental_js'], |
| 68 ) | 69 ) |
| 69 env.AddNodeToTestSuite(node, | 70 env.AddNodeToTestSuite(node, |
| 70 ['chrome_browser_tests'], | 71 ['chrome_browser_tests'], |
| 71 'run_ppapi_geturl_browser_test', | 72 'run_ppapi_geturl_browser_test', |
| 72 is_broken=env.PPAPIBrowserTesterIsBroken() | 73 is_broken=env.PPAPIBrowserTesterIsBroken() |
| 73 ) | 74 ) |
| OLD | NEW |