summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-05 19:48:25 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-05 19:48:25 +0000
commit2516153bbd24a2d630fe04176c8d3190744e6246 (patch)
treeca3c928b9266d80a19aaab8c57cd5a5cc4c1b049 /sandbox
parent89ac46c97e6a3b2f2726bd11d52824d27ee26a24 (diff)
downloadchromium_src-2516153bbd24a2d630fe04176c8d3190744e6246.zip
chromium_src-2516153bbd24a2d630fe04176c8d3190744e6246.tar.gz
chromium_src-2516153bbd24a2d630fe04176c8d3190744e6246.tar.bz2
Make better (and more efficient) use of Hammer functionality
in base, net and sandbox: * Remove by-hand Install() and Alias() calls. * Set $COMPONENT_PROGRAM_GROUPS and $COMPONENT_TEST_PROGRAM_GROUPS (with in each foo\foo.scons file) so executables get added automatically to the appropriate Alias. * Set $TESTS_DIR and $STAGING_DIR so executables get linked directly in their final resting place ($TARGET_ROOT). Review URL: http://codereview.chromium.org/9188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4805 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/sandbox.scons9
1 files changed, 4 insertions, 5 deletions
diff --git a/sandbox/sandbox.scons b/sandbox/sandbox.scons
index 566d7e5..039a883 100644
--- a/sandbox/sandbox.scons
+++ b/sandbox/sandbox.scons
@@ -8,11 +8,10 @@ Master configuration for building base components (including base_gfx).
Import('env')
-env = env.Clone(
- #TESTS_DIR = '../tests',
- #INTEGRATION_TESTS_DIR = '$TESTS_DIR/integration_tests',
- #UNIT_TESTS_DIR = '$TESTS_DIR/unit_tests',
- #VALIDATION_TESTS_DIR = '$TESTS_DIR/validation_tests',
+# Arrange for Hammer to add all programs to the 'sandbox' Alias.
+env.Append(
+ COMPONENT_PROGRAM_GROUPS = ['sandbox'],
+ COMPONENT_TEST_PROGRAM_GROUPS = ['sandbox'],
)
sconscript_files = [