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
|
# -*- 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.
#
Import('env')
env.Prepend(CPPDEFINES=['XP_UNIX'])
nexe = 'ppapi_ppb_widget_%s' % env.get('TARGET_FULLARCH')
env.Alias('ppapi_ppb_widget${PROGSUFFIX}',
['$STAGING_DIR/%s${PROGSUFFIX}' % nexe])
ppapi_ppb_widget_nexe = env.ComponentProgram(
nexe,
['ppapi_ppb_widget.cc'],
EXTRA_LIBS=['${PPAPI_LIBS}',
'ppapi_test_lib',
'platform', # for CHECK
'pthread',
'gio',
])
env.Publish(nexe, 'run',
['ppapi_ppb_widget.html',
'ppapi_ppb_widget.nmf',
'ppapi_ppb_widget.js'])
node = env.PPAPIBrowserTester('ppapi_ppb_widget_browser_test.out',
url='ppapi_ppb_widget.html',
files=env.ExtractPublishedFiles(nexe))
env.AddNodeToTestSuite(node,
['chrome_browser_tests'],
'run_ppapi_ppb_widget_browser_test',
is_broken=env.PPAPIBrowserTesterIsBroken())
|