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

Unified Diff: ppapi/native_client/tests/ppapi_browser/ppb_graphics3d/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_browser/ppb_graphics3d/nacl.scons
===================================================================
--- ppapi/native_client/tests/ppapi_browser/ppb_graphics3d/nacl.scons (revision 0)
+++ ppapi/native_client/tests/ppapi_browser/ppb_graphics3d/nacl.scons (revision 0)
@@ -0,0 +1,46 @@
+# -*- 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=['$SOURCE_ROOT/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_gles2',
+ 'ppapi_test_lib',
+ 'platform', # for CHECK
+ 'pthread',
+ 'gio',
+ ])
+
+dest_copy = env.Publish(nexe, 'run',
+ [ 'ppapi_ppb_graphics3d.html',
+ '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')],
+ browser_flags=['--enable-accelerated-plugins'])
+
+env.AddNodeToTestSuite(node,
+ ['chrome_browser_tests'],
+ 'run_ppapi_ppb_graphics3d_browser_test',
+ is_broken=env.PPAPIBrowserTesterIsBroken() or
+ env.PPAPIGraphics3DIsBroken())

Powered by Google App Engine
This is Rietveld 408576698