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

Unified Diff: tests/ppapi_browser/ppb_graphics3d/nacl.scons

Issue 7631010: NaCl Proxy for graphics3d. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
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: tests/ppapi_browser/ppb_graphics3d/nacl.scons
===================================================================
--- tests/ppapi_browser/ppb_graphics3d/nacl.scons (revision 0)
+++ tests/ppapi_browser/ppb_graphics3d/nacl.scons (revision 0)
@@ -0,0 +1,47 @@
+# -*- 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 test uses ppapi_test_lib.
+
+Import('env')
+
+env.Prepend(CPPDEFINES=['XP_UNIX'])
+
+env.Append(CPPPATH=['$MAIN_DIR/src/third_party/ppapi/lib/gl/include'])
+
+nexe = 'ppapi_ppb_graphics3d_${TARGET_FULLARCH}'
+env.Alias('ppapi_ppb_graphics3d${PROGSUFFIX}',
+ ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe])
+
+ppapi_ppb_graphics3d_nexe = env.ComponentProgram(
+ nexe,
+ [ 'ppapi_ppb_graphics3d.cc' ],
+ EXTRA_LIBS=['${PPAPI_LIBS}',
+ 'ppapi_test_lib',
+ 'platform', # for CHECK
+ 'pthread',
+ 'gio',
+ ])
+
+dest_copy = env.Publish(nexe, 'run',
+ [ 'ppapi_ppb_graphics3d.html',
sehr (please use chromium) 2011/08/17 20:44:36 indent is goofy.
nfullagar 2011/08/18 00:23:57 Done.
+ 'ppapi_ppb_graphics3d.nmf',
+ env.File('${SCONSTRUCT_DIR}/tools/browser_tester/'
+ 'browserdata/nacltest.js') ]
+ )
+
+node = env.PPAPIBrowserTester('ppapi_ppb_graphics3d_browser_test.out',
+ url='ppapi_ppb_graphics3d.html',
+ files=[ ppapi_ppb_graphics3d_nexe,
+ env.File('ppapi_ppb_graphics3d.nmf'),
+ env.File('ppapi_ppb_graphics3d.html')],
+ args=['--enable_experimental_js'],
+ browser_flags=['--enable-pepper-testing',
+ '--enable_accelerated_plugins'])
+
+env.AddNodeToTestSuite(node,
+ ['chrome_browser_tests'],
+ 'run_ppapi_ppb_graphics3d_browser_test',
+ is_broken=env.PPAPIBrowserTesterIsBroken())

Powered by Google App Engine
This is Rietveld 408576698