OLD | NEW |
(Empty) | |
| 1 # -*- python -*- |
| 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 |
| 4 # found in the LICENSE file. |
| 5 # |
| 6 # This test uses ppapi_test_lib. |
| 7 |
| 8 Import('env') |
| 9 |
| 10 env.Prepend(CPPDEFINES=['XP_UNIX']) |
| 11 |
| 12 nexe = 'ppapi_ppb_url_request_info_%s' % env.get('TARGET_FULLARCH') |
| 13 env.Alias('ppapi_ppb_url_request_info${PROGSUFFIX}', |
| 14 [ '$STAGING_DIR/%s${PROGSUFFIX}' % nexe ]) |
| 15 |
| 16 ppapi_ppb_url_request_info_nexe = env.ComponentProgram( |
| 17 nexe, |
| 18 [ 'ppapi_ppb_url_request_info.cc' ], |
| 19 EXTRA_LIBS=['${PPAPI_LIBS}', |
| 20 'ppapi_test_lib', |
| 21 'platform', # for CHECK |
| 22 'pthread', |
| 23 'gio', |
| 24 ]) |
| 25 |
| 26 env.Publish(nexe, 'run', |
| 27 ['ppapi_ppb_url_request_info.html', |
| 28 'ppapi_ppb_url_request_info.nmf', |
| 29 'ppapi_ppb_url_request_info.js']) |
| 30 |
| 31 node = env.PPAPIBrowserTester('ppapi_ppb_url_request_info_browser_test.out', |
| 32 url='ppapi_ppb_url_request_info.html', |
| 33 files=env.ExtractPublishedFiles(nexe), |
| 34 browser_flags=['--enable-pepper-testing']) |
| 35 |
| 36 env.AddNodeToTestSuite(node, |
| 37 ['chrome_browser_tests'], |
| 38 'run_ppapi_ppb_url_request_info_browser_test', |
| 39 is_broken=env.PPAPIBrowserTesterIsBroken()) |
OLD | NEW |