| Index: experimental/webgtt/tests/nacltest/build.scons
|
| diff --git a/experimental/webgtt/tests/nacltest/build.scons b/experimental/webgtt/tests/nacltest/build.scons
|
| deleted file mode 100644
|
| index feb23da910f41513fe31467685e94bdc06a5a06b..0000000000000000000000000000000000000000
|
| --- a/experimental/webgtt/tests/nacltest/build.scons
|
| +++ /dev/null
|
| @@ -1,62 +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 make_nacl_env
|
| -import os
|
| -import sys
|
| -
|
| -ROOT_DIR = os.getenv('NACL_SDK_ROOT')
|
| -
|
| -sys.path.append(ROOT_DIR)
|
| -from build_tools import build_utils
|
| -
|
| -nacl_env = make_nacl_env.NaClEnvironment(
|
| - use_c_plus_plus_libs=True, nacl_platform=os.getenv('NACL_TARGET_PLATFORM'))
|
| -nacl_env.Append(
|
| - # Add a CPPPATH that enables the full-path #include directives, such as
|
| - # #include "examples/sine_synth/sine_synth.h"
|
| - CPPPATH=[
|
| - os.path.dirname(os.path.dirname(os.getcwd())),
|
| - os.path.dirname(os.path.dirname(os.path.dirname(os.getcwd()))),
|
| - os.path.join(ROOT_DIR, 'third_party'),
|
| - build_utils.JoinPathToNaClRepo(root_dir=ROOT_DIR),
|
| - ROOT_DIR,
|
| - ],
|
| - # Strict ANSI compliance.
|
| - EXTRA_CCFLAGS=['-pedantic'],
|
| - )
|
| -
|
| -sources = [
|
| - 'algorithms.cc',
|
| - 'graph.cc',
|
| - 'parser.cc',
|
| - 'taskmap.cc',
|
| - 'webgtt.cc',
|
| - ]
|
| -nacl_env.Install(dir='.', source=[os.path.join('..', '..', source)
|
| - for source in sources])
|
| -
|
| -nacl_env.AllNaClModules(sources, 'webgtt')
|
| -
|
| -# Copy the files required by the test to the staging directory where the browser
|
| -# test can find them. See test.scons under this directory.
|
| -
|
| -webgtt_files = ['webgtt_test.html', 'webgtt_test.js', 'webgtt.nmf',
|
| - 'webgtt_x86_32.nexe', 'webgtt_x86_64.nexe']
|
| -
|
| -nacltest_js = build_utils.JoinPathToNaClRepo('native_client',
|
| - 'tools',
|
| - 'browser_tester',
|
| - 'browserdata',
|
| - 'nacltest.js',
|
| - root_dir=ROOT_DIR)
|
| -
|
| -STAGING_DIR = os.path.join(ROOT_DIR, 'scons-out', 'build', 'staging')
|
| -
|
| -stage_install = nacl_env.Install(dir=STAGING_DIR,
|
| - source=webgtt_files+[nacltest_js])
|
| -
|
| -Alias('stage', stage_install)
|
|
|