Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Side by Side Diff: ppapi/native_client/tests/ppapi_browser/ppp_input_event/nacl.scons

Issue 7778012: Landing chrome side of nacl change pre-dating ppapi switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 test uses ppapi_test_lib. 6 # This test uses ppapi_test_lib.
7 7
8 Import('env') 8 Import('env')
9 9
10 env.Prepend(CPPDEFINES=['XP_UNIX']) 10 env.Prepend(CPPDEFINES=['XP_UNIX'])
11 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/ppapi_browser/' +
12 'ppp_input_event')
11 13
12 nexe = 'ppapi_ppp_input_event_%s' % env.get('TARGET_FULLARCH') 14 nexe = 'ppapi_ppp_input_event_%s' % env.get('TARGET_FULLARCH')
13 env.Alias('ppapi_ppp_input_event${PROGSUFFIX}', 15 env.Alias('ppapi_ppp_input_event${PROGSUFFIX}',
14 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe]) 16 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe])
15 17
16 ppapi_ppp_input_event_nexe = env.ComponentProgram( 18 ppapi_ppp_input_event_nexe = env.ComponentProgram(
17 nexe, 19 nexe,
18 ['ppapi_ppp_input_event.cc'], 20 ['ppapi_ppp_input_event.cc'],
19 EXTRA_LIBS=['${PPAPI_LIBS}', 21 EXTRA_LIBS=['${PPAPI_LIBS}',
20 'ppapi_test_lib', 22 'ppapi_test_lib',
21 'platform', # for CHECK 23 'platform', # for CHECK
22 'pthread', 24 'pthread',
23 'gio', 25 'gio',
24 ]) 26 ])
25 27
26 env.Publish(nexe, 'run', 28 env.Publish(nexe, 'run',
27 ['ppapi_ppp_input_event.html', 29 ['ppapi_ppp_input_event.html',
28 'ppapi_ppp_input_event.nmf',
29 'ppapi_ppp_input_event.js']) 30 'ppapi_ppp_input_event.js'])
30 31
31 node = env.PPAPIBrowserTester('ppapi_ppp_input_event_browser_test.out', 32 node = env.PPAPIBrowserTester('ppapi_ppp_input_event_browser_test.out',
32 url='ppapi_ppp_input_event.html', 33 url='ppapi_ppp_input_event.html',
34 nmf='${TEST_DIR}/ppapi_ppp_input_event.nmf',
33 files=env.ExtractPublishedFiles(nexe)) 35 files=env.ExtractPublishedFiles(nexe))
34 36
35 env.AddNodeToTestSuite(node, 37 env.AddNodeToTestSuite(node,
36 ['chrome_browser_tests'], 38 ['chrome_browser_tests'],
37 'run_ppapi_ppp_input_event_browser_test', 39 'run_ppapi_ppp_input_event_browser_test',
38 is_broken=env.PPAPIBrowserTesterIsBroken()) 40 is_broken=env.PPAPIBrowserTesterIsBroken())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698