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

Side by Side Diff: build/SConscript.main

Issue 12436: Remove dependancies on gcc/perl etc. This saves a bunch of stats and (Closed)
Patch Set: Created 12 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 windows_opt.Tool('target_optimized') 331 windows_opt.Tool('target_optimized')
332 windows_opt.ApplySConscript(['$CHROME_SRC_DIR/build/release.scons']) 332 windows_opt.ApplySConscript(['$CHROME_SRC_DIR/build/release.scons'])
333 333
334 # -------------------------------------------------------------------------- 334 # --------------------------------------------------------------------------
335 # Linux specific 335 # Linux specific
336 336
337 linux_env = root_env.Clone() 337 linux_env = root_env.Clone()
338 linux_env.Tool('target_platform_linux') 338 linux_env.Tool('target_platform_linux')
339 linux_env.Tool('yacc') 339 linux_env.Tool('yacc')
340 340
341 # By default scons will depend on the first path element for any command line.
342 # For example, it will resolve 'gcc' with $PATH and depend on that for any
343 # action which runs gcc. This disables this behaviour:
344 linux_env['IMPLICIT_COMMAND_DEPENDENCIES'] = False
345
341 # TODO(bradnelson): this is needed for now because target_platform_linux has 346 # TODO(bradnelson): this is needed for now because target_platform_linux has
342 # OS_LINUX defined in a weird way. 347 # OS_LINUX defined in a weird way.
343 linux_env.FilterOut(CPPDEFINES = ['OS_LINUX=OS_LINUX']) 348 linux_env.FilterOut(CPPDEFINES = ['OS_LINUX=OS_LINUX'])
344 349
345 # Copy some environment variables from the outer environment to the 350 # Copy some environment variables from the outer environment to the
346 # SCons.Environment if they exist. 351 # SCons.Environment if they exist.
347 for envvar in ('CC', 'CXX', 'LINK'): 352 for envvar in ('CC', 'CXX', 'LINK'):
348 if envvar in os.environ: 353 if envvar in os.environ:
349 linux_env[envvar] = os.environ[envvar] 354 linux_env[envvar] = os.environ[envvar]
350 # Copy these environment variables from the outer environment to the 355 # Copy these environment variables from the outer environment to the
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 'all_libraries', 690 'all_libraries',
686 'all_languages', 691 'all_languages',
687 'all_programs', 692 'all_programs',
688 'all_test_programs', 693 'all_test_programs',
689 ], projects = [p], 694 ], projects = [p],
690 COMPONENT_VS_PROJECT_SCRIPT_PATH=( 695 COMPONENT_VS_PROJECT_SCRIPT_PATH=(
691 'cd $$(ProjectDir)/$VS_PROJECT_TO_MAIN_DIR && hammer.bat'), 696 'cd $$(ProjectDir)/$VS_PROJECT_TO_MAIN_DIR && hammer.bat'),
692 ) 697 )
693 698
694 # ------------------------------------------------------------------------- 699 # -------------------------------------------------------------------------
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698