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

Side by Side Diff: build/SConscript.main

Issue 9188: Make better (and more efficient) use of Hammer functionality... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import os 5 import os
6 import shutil 6 import shutil
7 import sys 7 import sys
8 8
9 9
10 p = ARGUMENTS.get('PROGRESS') 10 p = ARGUMENTS.get('PROGRESS')
(...skipping 10 matching lines...) Expand all
21 21
22 load = ARGUMENTS.get('LOAD') 22 load = ARGUMENTS.get('LOAD')
23 if load: 23 if load:
24 load = load.split(',') 24 load = load.split(',')
25 else: 25 else:
26 load = [] 26 load = []
27 27
28 28
29 root_env = Environment( 29 root_env = Environment(
30 tools = ['component_setup'], 30 tools = ['component_setup'],
31
31 CHROME_SRC_DIR = '$MAIN_DIR/..', 32 CHROME_SRC_DIR = '$MAIN_DIR/..',
32 DESTINATION_ROOT = '$MAIN_DIR/Hammer', 33 DESTINATION_ROOT = '$MAIN_DIR/Hammer',
33 TARGET_ROOT = '$DESTINATION_ROOT', 34 TARGET_ROOT = '$DESTINATION_ROOT',
34 35
36 # Where ComponentTestProgram() will build test executables.
37 TESTS_DIR = '$TARGET_ROOT',
38
39 # Where ComponentProgram() will build program executables.
40 STAGING_DIR = '$TARGET_ROOT',
41
42 # Where ComponentLibrary() will build libraries.
35 LIBS_DIR = '$COMPONENT_LIBRARY_DIR', 43 LIBS_DIR = '$COMPONENT_LIBRARY_DIR',
36 44
45 # TODO(hammer): when Hammer supports this...
46 # Have Hammer prefix all Library aliases with lib_ (to avoid
47 # collisions with the component names themselves).
48 #COMPONENT_LIBRARY_ALIAS = 'lib_$LIBNAME',
49
37 # Disable running of tests thru scons for now. 50 # Disable running of tests thru scons for now.
38 COMPONENT_TEST_CMDLINE = '', 51 COMPONENT_TEST_CMDLINE = '',
39 52
40 BASE_DIR = '$OBJ_ROOT/base', 53 BASE_DIR = '$OBJ_ROOT/base',
41 BREAKPAD_DIR = '$OBJ_ROOT/breakpad', 54 BREAKPAD_DIR = '$OBJ_ROOT/breakpad',
42 CHROME_DIR = '$OBJ_ROOT/chrome', 55 CHROME_DIR = '$OBJ_ROOT/chrome',
43 GEARS_DIR = '$OBJ_ROOT/gears', 56 GEARS_DIR = '$OBJ_ROOT/gears',
44 GOOGLE_UPDATE_DIR = '$OBJ_ROOT/google_update', 57 GOOGLE_UPDATE_DIR = '$OBJ_ROOT/google_update',
45 GOOGLEURL_DIR = '$OBJ_ROOT/googleurl', 58 GOOGLEURL_DIR = '$OBJ_ROOT/googleurl',
46 NET_DIR = '$OBJ_ROOT/net', 59 NET_DIR = '$OBJ_ROOT/net',
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 COMPONENT_VS_SOLUTION_DIR='$MAIN_DIR', 683 COMPONENT_VS_SOLUTION_DIR='$MAIN_DIR',
671 COMPONENT_VS_PROJECT_DIR='$MAIN_DIR/projects', 684 COMPONENT_VS_PROJECT_DIR='$MAIN_DIR/projects',
672 COMPONENT_VS_PROJECT_SCRIPT_PATH=( 685 COMPONENT_VS_PROJECT_SCRIPT_PATH=(
673 'cd $$(ProjectDir)/$VS_PROJECT_TO_MAIN_DIR && hammer.bat'), 686 'cd $$(ProjectDir)/$VS_PROJECT_TO_MAIN_DIR && hammer.bat'),
674 ) 687 )
675 688
676 Default(None) # Delete all other default targets. 689 Default(None) # Delete all other default targets.
677 Default([src_solution, solution]) # Build just the solution. 690 Default([src_solution, solution]) # Build just the solution.
678 691
679 # ------------------------------------------------------------------------- 692 # -------------------------------------------------------------------------
OLDNEW
« no previous file with comments | « base/base_unittests.scons ('k') | build/googleurl.scons » ('j') | net/net_resources.scons » ('J')

Powered by Google App Engine
This is Rietveld 408576698