Index: ppapi/native_client/tests/ppapi_browser/ppb_file_io/nacl.scons |
=================================================================== |
--- ppapi/native_client/tests/ppapi_browser/ppb_file_io/nacl.scons (revision 0) |
+++ ppapi/native_client/tests/ppapi_browser/ppb_file_io/nacl.scons (revision 0) |
@@ -0,0 +1,42 @@ |
+# -*- 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']) |
+ |
+nexe = 'ppapi_ppb_file_io_%s' % env.get('TARGET_FULLARCH') |
+env.Alias('ppapi_ppb_file_io${PROGSUFFIX}', |
+ ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe]) |
+ |
+env.ComponentProgram(nexe, |
+ ['common.cc', |
+ 'test_open.cc', |
+ 'test_read.cc', |
+ 'test_query.cc', |
+ 'test_sequence_element.cc', |
+ 'ppapi_ppb_file_io.cc'], |
+ EXTRA_LIBS=['${PPAPI_LIBS}', |
+ 'ppapi_test_lib', |
+ 'platform', |
+ 'pthread', |
+ 'gio']) |
+ |
+env.Publish(nexe, 'run', |
+ ['ppapi_ppb_file_io.html', |
+ 'ppapi_ppb_file_io.nmf', |
+ 'ppapi_ppb_file_io.js']) |
+ |
+node = env.PPAPIBrowserTester('ppapi_ppb_file_io_browser_test.out', |
+ url='ppapi_ppb_file_io.html', |
+ browser_flags=['--unlimited-quota-for-files'], |
+ files=env.ExtractPublishedFiles(nexe)) |
+ |
+env.AddNodeToTestSuite(node, |
+ ['chrome_browser_tests'], |
+ 'run_ppapi_ppb_file_io_browser_test', |
+ is_broken=env.PPAPIBrowserTesterIsBroken()) |