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

Side by Side Diff: base/base.scons

Issue 42542: Include version information in Linux chrome. (Closed)
Patch Set: enabled AlwaysBuild Created 11 years, 9 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 unified diff | Download patch
« no previous file with comments | « base/base.gyp ('k') | base/file_version_info_linux.cc » ('j') | 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 __doc__ = """ 5 __doc__ = """
6 Configuration for building base.lib / libbase.a. 6 Configuration for building base.lib / libbase.a.
7 """ 7 """
8 8
9 Import('env') 9 Import('env')
10 10
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 'hmac_nss.cc', 397 'hmac_nss.cc',
398 'message_pump_glib.cc', 398 'message_pump_glib.cc',
399 'nss_init.cc', 399 'nss_init.cc',
400 'process_posix.cc', 400 'process_posix.cc',
401 'process_util_linux.cc', 401 'process_util_linux.cc',
402 'sys_string_conversions_linux.cc', 402 'sys_string_conversions_linux.cc',
403 'test_file_util_linux.cc', 403 'test_file_util_linux.cc',
404 'worker_pool_linux.cc', 404 'worker_pool_linux.cc',
405 ]) 405 ])
406 406
407 linux_version = env.Command('$BASE_DIR/file_version_info_linux.h',
408 'file_version_info_linux.h.version',
409 ('../chrome/tools/build/linux/version.sh'
410 ' ${SOURCE}'
411 ' ${TARGET}'
412 ' ../chrome'))
413 env.AlwaysBuild(linux_version)
414 # Always generate version information, e.g. to capture revision changes, which
415 # aren't captured by file dependencies.
416 env.Append(CPPPATH = ['$OBJ_ROOT'])
417
407 env.ChromeLibrary('base', input_files) 418 env.ChromeLibrary('base', input_files)
408 419
409 p = env.ChromeMSVSProject('build/base.vcproj', 420 p = env.ChromeMSVSProject('build/base.vcproj',
410 dest='$CHROME_SRC_DIR/base/build/base.vcproj', 421 dest='$CHROME_SRC_DIR/base/build/base.vcproj',
411 guid='{1832A374-8A74-4F9E-B536-69A699B3E165}', 422 guid='{1832A374-8A74-4F9E-B536-69A699B3E165}',
412 keyword='Win32Proj', 423 keyword='Win32Proj',
413 dependencies=[ 424 dependencies=[
414 'build/debug_message.vcproj', 425 'build/debug_message.vcproj',
415 # Necessary for chrome.sln. 426 # Necessary for chrome.sln.
416 '$ICU38_DIR/build/icu.vcproj', 427 '$ICU38_DIR/build/icu.vcproj',
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 tools=[ 481 tools=[
471 MSVSTool('VCCLCompilerTool', DisableSpecificWarnings='4102'), 482 MSVSTool('VCCLCompilerTool', DisableSpecificWarnings='4102'),
472 ]) 483 ])
473 484
474 p.AddFileConfig( 485 p.AddFileConfig(
475 'third_party/dmg_fp/g_fmt.cc', 486 'third_party/dmg_fp/g_fmt.cc',
476 'Release|Win32', 487 'Release|Win32',
477 tools=[ 488 tools=[
478 MSVSTool('VCCLCompilerTool', DisableSpecificWarnings='4102'), 489 MSVSTool('VCCLCompilerTool', DisableSpecificWarnings='4102'),
479 ]) 490 ])
OLDNEW
« no previous file with comments | « base/base.gyp ('k') | base/file_version_info_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698