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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/base.gyp ('k') | base/file_version_info_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base.scons
diff --git a/base/base.scons b/base/base.scons
index f3a7f9b9e9490c5e697e8b69de931892a6026ca2..09f594841697c56273a45e2236dd760eccc11ea4 100644
--- a/base/base.scons
+++ b/base/base.scons
@@ -404,6 +404,17 @@ if env.Bit('linux'):
'worker_pool_linux.cc',
])
+ linux_version = env.Command('$BASE_DIR/file_version_info_linux.h',
+ 'file_version_info_linux.h.version',
+ ('../chrome/tools/build/linux/version.sh'
+ ' ${SOURCE}'
+ ' ${TARGET}'
+ ' ../chrome'))
+ env.AlwaysBuild(linux_version)
+ # Always generate version information, e.g. to capture revision changes, which
+ # aren't captured by file dependencies.
+ env.Append(CPPPATH = ['$OBJ_ROOT'])
+
env.ChromeLibrary('base', input_files)
p = env.ChromeMSVSProject('build/base.vcproj',
« 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