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

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

Issue 7736016: Revert 98616 - 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 'ppb_image_data')
13 11
14 nexe = 'ppapi_ppb_image_data_${TARGET_FULLARCH}' 12 nexe = 'ppapi_ppb_image_data_${TARGET_FULLARCH}'
15 env.Alias('ppapi_ppb_image_data${PROGSUFFIX}', 13 env.Alias('ppapi_ppb_image_data${PROGSUFFIX}',
16 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe]) 14 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe])
17 15
18 env.ComponentProgram( 16 env.ComponentProgram(
19 nexe, 17 nexe,
20 ['ppapi_ppb_image_data.cc'], 18 ['ppapi_ppb_image_data.cc'],
21 EXTRA_LIBS=['${PPAPI_LIBS}', 19 EXTRA_LIBS=['${PPAPI_LIBS}',
22 'ppapi_test_lib', 20 'ppapi_test_lib',
23 'platform', # for CHECK 21 'platform', # for CHECK
24 'pthread', 22 'pthread',
25 'gio', 23 'gio',
26 ]) 24 ])
27 25
28 env.Publish(nexe, 'run', 26 env.Publish(nexe, 'run',
29 [ 'ppapi_ppb_image_data.html', 27 [ 'ppapi_ppb_image_data.html',
28 'ppapi_ppb_image_data.nmf',
30 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/' 29 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/'
31 'browserdata/nacltest.js') ]) 30 'browserdata/nacltest.js') ])
32 31
33 node = env.PPAPIBrowserTester('ppapi_ppb_image_data_browser_test.out', 32 node = env.PPAPIBrowserTester('ppapi_ppb_image_data_browser_test.out',
34 url='ppapi_ppb_image_data.html', 33 url='ppapi_ppb_image_data.html',
35 nmf='${TEST_DIR}/ppapi_ppb_image_data.nmf',
36 files=env.ExtractPublishedFiles(nexe)) 34 files=env.ExtractPublishedFiles(nexe))
37 35
38 env.AddNodeToTestSuite(node, 36 env.AddNodeToTestSuite(node,
39 ['chrome_browser_tests'], 37 ['chrome_browser_tests'],
40 'run_ppapi_ppb_image_data_browser_test', 38 'run_ppapi_ppb_image_data_browser_test',
41 is_broken=env.PPAPIBrowserTesterIsBroken()) 39 is_broken=env.PPAPIBrowserTesterIsBroken())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698