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

Side by Side Diff: ppapi/native_client/tests/ppapi_browser/ppb_scrollbar/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 6
7 Import('env') 7 Import('env')
8 8
9 env.Prepend(CPPDEFINES=['XP_UNIX']) 9 env.Prepend(CPPDEFINES=['XP_UNIX'])
10 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/ppapi_browser/' +
11 'ppb_scrollbar')
10 12
11 nexe = 'ppapi_ppb_scrollbar_%s' % env.get('TARGET_FULLARCH') 13 nexe = 'ppapi_ppb_scrollbar_%s' % env.get('TARGET_FULLARCH')
12 env.Alias('ppapi_ppb_scrollbar${PROGSUFFIX}', 14 env.Alias('ppapi_ppb_scrollbar${PROGSUFFIX}',
13 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe]) 15 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe])
14 16
15 ppapi_ppb_scrollbar_nexe = env.ComponentProgram( 17 ppapi_ppb_scrollbar_nexe = env.ComponentProgram(
16 nexe, 18 nexe,
17 ['ppapi_ppb_scrollbar.cc'], 19 ['ppapi_ppb_scrollbar.cc'],
18 EXTRA_LIBS=['${PPAPI_LIBS}', 20 EXTRA_LIBS=['${PPAPI_LIBS}',
19 'ppapi_test_lib', 21 'ppapi_test_lib',
20 'platform', # for CHECK 22 'platform', # for CHECK
21 'pthread', 23 'pthread',
22 'gio', 24 'gio',
23 ]) 25 ])
24 26
25 env.Publish(nexe, 'run', 27 env.Publish(nexe, 'run',
26 ['ppapi_ppb_scrollbar.html', 28 ['ppapi_ppb_scrollbar.html',
27 'ppapi_ppb_scrollbar.nmf',
28 'ppapi_ppb_scrollbar.js']) 29 'ppapi_ppb_scrollbar.js'])
29 30
30 node = env.PPAPIBrowserTester('ppapi_ppb_scrollbar_browser_test.out', 31 node = env.PPAPIBrowserTester('ppapi_ppb_scrollbar_browser_test.out',
31 url='ppapi_ppb_scrollbar.html', 32 url='ppapi_ppb_scrollbar.html',
33 nmf='${TEST_DIR}/ppapi_ppb_scrollbar.nmf',
32 files=env.ExtractPublishedFiles(nexe)) 34 files=env.ExtractPublishedFiles(nexe))
33 35
34 env.AddNodeToTestSuite(node, 36 env.AddNodeToTestSuite(node,
35 ['chrome_browser_tests'], 37 ['chrome_browser_tests'],
36 'run_ppapi_ppb_scrollbar_browser_test', 38 'run_ppapi_ppb_scrollbar_browser_test',
37 is_broken=env.PPAPIBrowserTesterIsBroken()) 39 is_broken=env.PPAPIBrowserTesterIsBroken())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698