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

Side by Side Diff: ppapi/native_client/tests/ppapi_simple_tests/nacl.scons

Issue 10868029: Inlining PPAPI_LIBS as its now the same everywhere. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 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 10
11 11
12 ###################################################################### 12 ######################################################################
13 # REPLAY TESTS 13 # REPLAY TESTS
14 ###################################################################### 14 ######################################################################
15 TESTS = [('audio', ('audio',)), 15 TESTS = [('audio', ('audio',)),
16 ('graphics2d',('graphics2d',)), 16 ('graphics2d',('graphics2d',)),
17 ('event', ('event',)), 17 ('event', ('event',)),
18 ('file', ('file1', 'file2')), 18 ('file', ('file1', 'file2')),
19 ] 19 ]
20 20
21 for test_exe, test_inputs in TESTS: 21 for test_exe, test_inputs in TESTS:
22 nexe = env.ComponentProgram('ppapi_simple_' + test_exe, 22 nexe = env.ComponentProgram('ppapi_simple_' + test_exe,
23 [test_exe + '.cc'], 23 [test_exe + '.cc'],
24 EXTRA_LIBS=['${PPAPI_LIBS}', 24 EXTRA_LIBS=['ppapi',
25 'ppapi_cpp', 25 'ppapi_cpp',
26 'platform', 26 'platform',
27 'gio', 27 'gio',
28 'pthread', 28 'pthread',
29 'm', 29 'm',
30 ]) 30 ])
31 31
32 for test in test_inputs: 32 for test in test_inputs:
33 node = env.SelUniversalTest( 33 node = env.SelUniversalTest(
34 'ppapi_simple_' + test + '.out', 34 'ppapi_simple_' + test + '.out',
(...skipping 27 matching lines...) Expand all
62 'test.txt', # c.f. ppapi_emu_file.stdin 62 'test.txt', # c.f. ppapi_emu_file.stdin
63 env.File('test.txt'), 63 env.File('test.txt'),
64 ], 64 ],
65 uses_ppapi=True, 65 uses_ppapi=True,
66 stdout_golden=env.File('ppapi_emu_file.stdout'), 66 stdout_golden=env.File('ppapi_emu_file.stdout'),
67 ) 67 )
68 68
69 env.AddNodeToTestSuite(node, 69 env.AddNodeToTestSuite(node,
70 ['small_tests', 'sel_ldr_tests'], 70 ['small_tests', 'sel_ldr_tests'],
71 'run_ppapi_emu_file_test') 71 'run_ppapi_emu_file_test')
OLDNEW
« no previous file with comments | « ppapi/native_client/tests/ppapi_messaging/nacl.scons ('k') | ppapi/native_client/tests/ppapi_test_example/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698