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

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

Issue 7740013: Cloning a bunch of stuff from the native_client repository at r6528 (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
(Empty)
1 # -*- python -*-
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
4 # found in the LICENSE file.
5
6 # This is a C PPAPI-based version of ../npapi_geturl.
7 #
8 # ppapi_geturl.html - test driver that loads the nexe and scripts it
9 # ppapi_geturl_success.html - to be url-loaded and displayed w/n driver html
10 #
11 # ppapi_geturl.cc - implementation of PPP interface
12 # module.h/cc - implementation of PPP_Instance interface
13 # scriptable_object.h/cc - implementation of the scripting interface
14 # url_load_request.h/cc - url loading helper
15 # nacl_file_main.cc - uses main() to test NaClFile interface
16
17 Import('env')
18
19 env.Prepend(CPPDEFINES=['XP_UNIX'])
20
21 nexe = 'ppapi_geturl_%s' % env.get('TARGET_FULLARCH')
22 env.Alias('ppapi_geturl${PROGSUFFIX}',
23 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe])
24
25 ppapi_geturl_nexe = env.ComponentProgram(nexe,
26 ['nacl_file_main.cc',
27 'module.cc',
28 'ppapi_geturl.cc',
29 'url_load_request.cc',
30 ],
31 EXTRA_LIBS=[
32 'nacl_file',
33 'ppruntime',
34 'srpc',
35 'imc',
36 'imc_syscalls',
37 'platform',
38 'gio',
39 '${PTHREAD_LIBS}',
40 'm',
41 '${NON_PPAPI_BROWSER_LIBS}'],
42 EXTRA_LINKFLAGS=['-Wl,--wrap=read',
43 '-Wl,--wrap=open',
44 '-Wl,--wrap=lseek',
45 '-Wl,--wrap=close'])
46
47 env.Publish(nexe, 'run',
48 ['ppapi_geturl.html',
49 'ppapi_geturl.nmf',
50 'ppapi_geturl_success.html'])
51
52 node = env.PPAPIBrowserTester('ppapi_geturl_browser_test.out',
53 url='ppapi_geturl.html',
54 files=env.ExtractPublishedFiles(nexe),
55 args=['--allow_404'],
56 )
57
58 env.AddNodeToTestSuite(node,
59 ['chrome_browser_tests'],
60 'run_ppapi_geturl_browser_test',
61 is_broken=env.PPAPIBrowserTesterIsBroken()
62 )
OLDNEW
« no previous file with comments | « ppapi/native_client/tests/ppapi_geturl/module.cc ('k') | ppapi/native_client/tests/ppapi_geturl/nacl_file_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698