| Index: ppapi/native_client/tests/ppapi_browser/ppb_file_system/nacl.scons
|
| ===================================================================
|
| --- ppapi/native_client/tests/ppapi_browser/ppb_file_system/nacl.scons (revision 0)
|
| +++ ppapi/native_client/tests/ppapi_browser/ppb_file_system/nacl.scons (revision 0)
|
| @@ -0,0 +1,36 @@
|
| +# -*- 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_system_%s' % env.get('TARGET_FULLARCH')
|
| +env.Alias('ppapi_ppb_file_system${PROGSUFFIX}',
|
| + ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe])
|
| +
|
| +env.ComponentProgram(nexe,
|
| + ['ppapi_ppb_file_system.cc'],
|
| + EXTRA_LIBS=['${PPAPI_LIBS}',
|
| + 'ppapi_test_lib',
|
| + 'platform',
|
| + 'pthread',
|
| + 'gio'])
|
| +
|
| +env.Publish(nexe, 'run',
|
| + ['ppapi_ppb_file_system.html',
|
| + 'ppapi_ppb_file_system.nmf',
|
| + 'ppapi_ppb_file_system.js'])
|
| +
|
| +node = env.PPAPIBrowserTester('ppapi_ppb_file_system_browser_test.out',
|
| + url='ppapi_ppb_file_system.html',
|
| + files=env.ExtractPublishedFiles(nexe))
|
| +
|
| +env.AddNodeToTestSuite(node,
|
| + ['chrome_browser_tests'],
|
| + 'run_ppapi_ppb_file_system_browser_test',
|
| + is_broken=env.PPAPIBrowserTesterIsBroken())
|
|
|