1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# -*- python -*-
# Copyright (c) 2011 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# This test uses ppapi_test_lib.
Import('env')
env.Prepend(CPPDEFINES=['XP_UNIX'])
nexe = 'ppapi_ppb_dev_${TARGET_FULLARCH}'
env.Alias('ppapi_ppb_dev${PROGSUFFIX}',
['$STAGING_DIR/%s${PROGSUFFIX}' % nexe])
env.ComponentProgram(
nexe,
['ppapi_ppb_dev.cc'],
EXTRA_LIBS=['${PPAPI_LIBS}',
'ppapi_test_lib',
'platform', # for CHECK
'pthread',
'gio',
])
env.Publish(nexe, 'run',
[ 'ppapi_ppb_dev.html',
'ppapi_ppb_dev.nmf',
env.File('${SCONSTRUCT_DIR}/tools/browser_tester/'
'browserdata/nacltest.js') ])
node = env.PPAPIBrowserTester('ppapi_ppb_dev_browser_test.out',
url='ppapi_ppb_dev.html',
files=env.ExtractPublishedFiles(nexe),
args=['--enable_ppapi_dev=0'])
env.AddNodeToTestSuite(node,
['chrome_browser_tests'],
'run_ppapi_ppb_dev_browser_test',
is_broken=env.PPAPIBrowserTesterIsBroken())
|