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

Side by Side Diff: ppapi/native_client/tests/ppapi_messaging/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 2011 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can
4 # be found in the LICENSE file.
5
6 # This is a C PPAPI
7 #
8 # ppapi_messaging.html - test driver that loads the nexe and scripts it
9 # ppapi_messaging.nmf - manifest file for serving platform specific nexe binary.
10 #
11 # ppapi_messaging.c - implementation of PPP interface and PPP_Instance
12
13 Import('env')
14
15 env.Prepend(CPPDEFINES=['XP_UNIX'])
16
17 nexe = 'ppapi_messaging_%s' % env.get('TARGET_FULLARCH')
18
19 env.Alias('ppapi_messaging${PROGSUFFIX}',
20 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe])
21
22 ppapi_messaging_nexe = env.ComponentProgram(nexe,
23 ['ppapi_messaging.c'],
24 EXTRA_LIBS=['${PPAPI_LIBS}',
25 'platform',
26 'gio',
27 'pthread',
28 'm',
29 ])
30
31 # Note that the html is required to run this program.
32 dest_copy = env.Replicate('$STAGING_DIR',
33 ['ppapi_messaging.html',
34 'ppapi_messaging.nmf',
35 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/'
36 'browserdata/nacltest.js')]
37 )
38 env.Depends(nexe, dest_copy)
39
40 node = env.PPAPIBrowserTester('ppapi_messaging_browser_test.out',
41 url='ppapi_messaging.html',
42 files=[ppapi_messaging_nexe,
43 env.File('ppapi_messaging.nmf'),
44 env.File('ppapi_messaging.html')])
45
46 env.AddNodeToTestSuite(node,
47 ['chrome_browser_tests'],
48 'run_ppapi_messaging_browser_test',
49 is_broken=env.PPAPIBrowserTesterIsBroken())
OLDNEW
« no previous file with comments | « ppapi/native_client/tests/ppapi_messaging/build.scons ('k') | ppapi/native_client/tests/ppapi_messaging/ppapi_messaging.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698