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

Side by Side Diff: tests/ppapi_file_system/nacl.scons

Issue 7167018: Migrating test/ppapi_file_system to messaging (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 6 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
« no previous file with comments | « tests/ppapi_file_system/build.scons ('k') | tests/ppapi_file_system/ppapi_file_system.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 is a C PPAPI 6 # This is a C PPAPI
7 # 7 #
8 # ppapi_file_system.html - test driver that loads the nexe and scripts it 8 # ppapi_file_system.html - test driver that loads the nexe
9 # ppapi_file_system.js - set up the test driver
9 # ppapi_file_system.nmf - manifest file for serving platform specific nexe binar y. 10 # ppapi_file_system.nmf - manifest file for serving platform specific nexe binar y.
10 # 11 #
11 # ppapi_file_system.cc - implementation of PPP interface and PPP_Instance 12 # ppapi_file_system.cc - implementation of ppapi_test_lib/test_interface.h
12 # scriptable_object.c - implementation of the scripting interface
13 13
14 Import('env') 14 Import('env')
15 15
16 env.Prepend(CPPDEFINES=['XP_UNIX']) 16 env.Prepend(CPPDEFINES=['XP_UNIX'])
17 17
18 nexe = 'ppapi_file_system_%s.nexe' % env.get('TARGET_FULLARCH') 18 nexe = 'ppapi_file_system_%s.nexe' % env.get('TARGET_FULLARCH')
19 19
20 env.Alias('ppapi_file_system.nexe', ['$STAGING_DIR/%s' % nexe]) 20 env.Alias('ppapi_file_system.nexe', ['$STAGING_DIR/%s' % nexe])
21 21
22 ppapi_file_system_nexe = env.ComponentProgram(nexe, 22 ppapi_file_system_nexe = env.ComponentProgram(nexe,
23 ['ppapi_file_system.cc', 23 ['ppapi_file_system.cc'],
24 'scriptable_object.c'], 24 EXTRA_LIBS=['${PPAPI_LIBS}',
25 EXTRA_LIBS=['${PPAPI_LIBS}', 25 'ppapi_test_lib',
26 'platform', 26 'platform',
27 'gio', 27 'gio',
28 'pthread']) 28 'pthread'])
29 29 env.Publish(nexe, 'run',
30 # Note that the html is required to run this program. 30 ['ppapi_file_system.html',
31 dest_copy = env.Replicate('$STAGING_DIR', 31 'ppapi_file_system.nmf',
32 ['ppapi_file_system.html', 32 'ppapi_file_system.js'])
33 'ppapi_file_system.nmf',
34 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/'
35 'browserdata/nacltest.js')]
36 )
37 env.Depends(nexe, dest_copy)
38
39 node = env.PPAPIBrowserTester('ppapi_file_system_browser_test.out', 33 node = env.PPAPIBrowserTester('ppapi_file_system_browser_test.out',
40 url='ppapi_file_system.html', 34 url='ppapi_file_system.html',
41 files=[ppapi_file_system_nexe, 35 files=env.ExtractPublishedFiles(nexe),
42 env.File('ppapi_file_system.nmf'),
43 env.File('ppapi_file_system.html')],
44 args=['--enable_experimental_js']) 36 args=['--enable_experimental_js'])
45 37
46 # Disabled for ARM because Chrome binaries for ARM are not available. 38 # Disabled for ARM because Chrome binaries for ARM are not available.
47 # TODO(ncbray): Enable this on Windows. 39 # TODO(ncbray): Enable this on Windows.
48 tester_is_broken = \ 40 tester_is_broken = \
49 (env.Bit('target_arm') or 41 (env.Bit('target_arm') or
50 (env.Bit('host_windows') and 42 (env.Bit('host_windows') and
51 not env.Bit('disable_dynamic_plugin_loading'))) 43 not env.Bit('disable_dynamic_plugin_loading')))
52 env.AddNodeToTestSuite(node, 44 env.AddNodeToTestSuite(node,
53 ['chrome_browser_tests'], 45 ['chrome_browser_tests'],
54 'run_ppapi_file_system_browser_test', 46 'run_ppapi_file_system_browser_test',
55 is_broken=tester_is_broken) 47 is_broken=tester_is_broken)
OLDNEW
« no previous file with comments | « tests/ppapi_file_system/build.scons ('k') | tests/ppapi_file_system/ppapi_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698