Index: tests/ppapi_proxy/nacl.scons |
=================================================================== |
--- tests/ppapi_proxy/nacl.scons (revision 6005) |
+++ tests/ppapi_proxy/nacl.scons (working copy) |
@@ -1,52 +0,0 @@ |
-# -*- 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. |
- |
-Import('env') |
- |
-# TODO(robertm): those should not be necessary once we go -std=c99 |
-env.FilterOut(CFLAGS=['-pedantic']) |
-env.FilterOut(CCFLAGS=['-pedantic']) |
- |
-basic_obj_sources = env.ComponentObject('basic_object.cc'), |
- |
-basic_obj_target = 'ppapi_basic_object_%s' % env.get('TARGET_FULLARCH') |
-env.Alias('ppapi_basic_object${PROGSUFFIX}', |
- ['$STAGING_DIR/%s${PROGSUFFIX}' % basic_obj_target]) |
-basic_object_nexe = env.ComponentProgram(basic_obj_target, |
- [basic_obj_sources], |
- EXTRA_LIBS=['${PPAPI_LIBS}']) |
- |
-# Note that the html and a .nmf manifest is required to run this program. |
-dest_copy = env.Replicate('$STAGING_DIR', |
- ['basic_object.html', |
- 'basic_object.nmf', |
- 'user_main.nmf', |
- env.File('${SCONSTRUCT_DIR}/tools/browser_tester/' |
- 'browserdata/nacltest.js')]) |
-env.Depends(basic_obj_target, dest_copy) |
- |
-user_main_target = 'ppapi_user_main_%s' % env.get('TARGET_FULLARCH') |
-env.Alias('ppapi_user_main${PROGSUFFIX}', |
- ['$STAGING_DIR/%s${PROGSUFFIX}' % user_main_target]) |
-user_main_nexe = env.ComponentProgram(user_main_target, |
- [basic_obj_sources, 'user_main.cc',], |
- EXTRA_LIBS=['${PPAPI_LIBS}']) |
- |
-env.Depends(user_main_target, dest_copy) |
- |
-node = env.PPAPIBrowserTester( |
- 'ppapi_basic_object_browser_test.out', |
- url='basic_object.html', |
- files=[basic_object_nexe, |
- user_main_nexe, |
- env.File('basic_object.html'), |
- env.File('basic_object.nmf'), |
- env.File('user_main.nmf')], |
- args=['--enable_experimental_js']) |
- |
-env.AddNodeToTestSuite(node, |
- ['chrome_browser_tests'], |
- 'run_ppapi_basic_object_browser_test', |
- is_broken=env.PPAPIBrowserTesterIsBroken()) |