| Index: experimental/hex/build.scons
|
| diff --git a/experimental/hex/build.scons b/experimental/hex/build.scons
|
| deleted file mode 100644
|
| index ba40afb6ebf75a4f467b485a7d4843eaa063f423..0000000000000000000000000000000000000000
|
| --- a/experimental/hex/build.scons
|
| +++ /dev/null
|
| @@ -1,57 +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
|
| -
|
| -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()))],
|
| - # Strict ANSI compliance.
|
| - EXTRA_CCFLAGS=['-pedantic'],
|
| - )
|
| -
|
| -sources = ['hex_maniac.cc', 'hex_instance.cc']
|
| -
|
| -opt_nexes, dbg_nexes = nacl_env.AllNaClModules(sources, 'hex')
|
| -
|
| -nacl_install_root = os.getenv(
|
| - 'NACL_INSTALL_ROOT', os.path.join('C:%s' % os.sep, 'inetpub', 'wwwroot'))
|
| -install_dir = os.path.join(nacl_install_root, 'hex')
|
| -
|
| -cws_files = ['manifest.json', 'hex_icon.png', 'hex_icon16.png']
|
| -
|
| -install_cws = nacl_env.Install(dir=os.path.join(install_dir, 'cws'),
|
| - source=cws_files)
|
| -
|
| -app_files = ['about.html',
|
| - 'hex.nmf',
|
| - 'index.html',
|
| - ]
|
| -
|
| -install_app = nacl_env.Install(dir=install_dir,
|
| - source=opt_nexes + app_files)
|
| -
|
| -js_files = [
|
| - 'hex.js',
|
| -]
|
| -
|
| -install_js = nacl_env.Install(dir=install_dir, source=js_files)
|
| -
|
| -css_files = [
|
| - 'hex.css',
|
| -]
|
| -
|
| -install_css = nacl_env.Install(dir=install_dir, source=css_files)
|
| -
|
| -nacl_env.Alias('install',
|
| - source=[install_cws,
|
| - install_app,
|
| - install_css,
|
| - install_js])
|
|
|