Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Unified Diff: experimental/visual_studio_plugin/build.scons

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/visual_studio_plugin/build.scons
diff --git a/experimental/visual_studio_plugin/build.scons b/experimental/visual_studio_plugin/build.scons
deleted file mode 100644
index 099849655ba01f781ec079b6f5c6012396d70ad0..0000000000000000000000000000000000000000
--- a/experimental/visual_studio_plugin/build.scons
+++ /dev/null
@@ -1,66 +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.
-
-'''Build file for building the VSX plugin and running its test projects.'''
-
-import os
-import sys
-
-Import('env')
-
-# Check to ensure that we're running on windows.
-if not env['IS_WINDOWS']:
- Return()
-
-# Add the system path to this environment so that we can run gclient and such
-env.AppendENVPath('PATH', os.environ['PATH'])
-
-# Duplicate all the shell environment variables, so that various Visual Studio
-# tools will have the variables they expect (e.g. VS 2008 needs VS90COMNTOOLS).
-# Do this using "if not in" instead of update(), so that os.environ variables
-# don't override variables in env['ENV'].
-for shell_var in os.environ:
- if shell_var not in env['ENV']:
- env['ENV'][shell_var] = os.environ[shell_var]
-
-vsx_root_path = os.path.join(
- env['ROOT_DIR'], 'experimental', 'visual_studio_plugin')
-env['ENV']['NACL_VSX_ROOT'] = vsx_root_path
-env['ENV']['NACL_SDK_ROOT'] = env['ROOT_DIR']
-
-nacl_vsx_solution = os.path.join(vsx_root_path, 'build', 'NativeClientVSX.sln')
-vsx_build_all_command = env.BuildVSSolution('vsx', nacl_vsx_solution)
-
-env.Depends(vsx_build_all_command, env.GetToolchainNode())
-
-def DefineVSTestSet(package_name, type, size):
- '''Defines a set of tests to be added to the scons test set.
-
- This function accepts a package name and the type and test size and creates
- a testing target that can be run as part of the build. The target is added
- to the bot and the appropriate test size targets, and an individual target
- for the test set is created as well.
-
- Arguments:
- package - The name of the VS package whose test package should be added to
- the build.
- type - The type test package to expect as a string. This can be 'dll' or
- 'exe'.
- size - Which test harness to add the tests to; small, medium, or large
- '''
- unit_test_name = '%s_UnitTestProject' % package_name
- test_container = os.path.join(vsx_root_path, 'src', package_name,
- unit_test_name, 'bin', 'Debug',
- '%s.%s' % (unit_test_name, type))
- env.TestVSSolution(target_name=('run_%s_tests' % package_name),
- test_container=test_container,
- type=type,
- size=size,
- build_cmd=vsx_build_all_command)
-
-DefineVSTestSet('NaClVsx.Package', 'dll', 'small')
-DefineVSTestSet('MsAd7.BaseImpl', 'dll', 'small')
-DefineVSTestSet('dwarf_reader', 'exe', 'small')
« no previous file with comments | « experimental/visual_studio_plugin/.gitignore ('k') | experimental/visual_studio_plugin/build/CodeFormatStyle.Resharper.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698