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

Unified 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, 4 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/tests/ppapi_geturl/nacl.scons
===================================================================
--- ppapi/native_client/tests/ppapi_geturl/nacl.scons (revision 0)
+++ ppapi/native_client/tests/ppapi_geturl/nacl.scons (revision 0)
@@ -0,0 +1,62 @@
+# -*- python -*-
+# Copyright (c) 2011 The Native Client Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This is a C PPAPI-based version of ../npapi_geturl.
+#
+# ppapi_geturl.html - test driver that loads the nexe and scripts it
+# ppapi_geturl_success.html - to be url-loaded and displayed w/n driver html
+#
+# ppapi_geturl.cc - implementation of PPP interface
+# module.h/cc - implementation of PPP_Instance interface
+# scriptable_object.h/cc - implementation of the scripting interface
+# url_load_request.h/cc - url loading helper
+# nacl_file_main.cc - uses main() to test NaClFile interface
+
+Import('env')
+
+env.Prepend(CPPDEFINES=['XP_UNIX'])
+
+nexe = 'ppapi_geturl_%s' % env.get('TARGET_FULLARCH')
+env.Alias('ppapi_geturl${PROGSUFFIX}',
+ ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe])
+
+ppapi_geturl_nexe = env.ComponentProgram(nexe,
+ ['nacl_file_main.cc',
+ 'module.cc',
+ 'ppapi_geturl.cc',
+ 'url_load_request.cc',
+ ],
+ EXTRA_LIBS=[
+ 'nacl_file',
+ 'ppruntime',
+ 'srpc',
+ 'imc',
+ 'imc_syscalls',
+ 'platform',
+ 'gio',
+ '${PTHREAD_LIBS}',
+ 'm',
+ '${NON_PPAPI_BROWSER_LIBS}'],
+ EXTRA_LINKFLAGS=['-Wl,--wrap=read',
+ '-Wl,--wrap=open',
+ '-Wl,--wrap=lseek',
+ '-Wl,--wrap=close'])
+
+env.Publish(nexe, 'run',
+ ['ppapi_geturl.html',
+ 'ppapi_geturl.nmf',
+ 'ppapi_geturl_success.html'])
+
+node = env.PPAPIBrowserTester('ppapi_geturl_browser_test.out',
+ url='ppapi_geturl.html',
+ files=env.ExtractPublishedFiles(nexe),
+ args=['--allow_404'],
+ )
+
+env.AddNodeToTestSuite(node,
+ ['chrome_browser_tests'],
+ 'run_ppapi_geturl_browser_test',
+ is_broken=env.PPAPIBrowserTesterIsBroken()
+ )
« 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