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

Unified Diff: tools/export_tarball/export_tarball.py

Issue 10388213: Don't generate LASTCHANGE at build time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update copyright date in export_tarball Created 8 years, 7 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 | « remoting/remoting.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/export_tarball/export_tarball.py
diff --git a/tools/export_tarball/export_tarball.py b/tools/export_tarball/export_tarball.py
index 861503eec64991bd88b1f6cfa8f0e84e16babbc1..ac366db8e841cbee44c76df5527bde39994e040a 100755
--- a/tools/export_tarball/export_tarball.py
+++ b/tools/export_tarball/export_tarball.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python
-# Copyright (c) 2011 The Chromium Authors. All rights reserved.
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -101,6 +101,12 @@ def main(argv):
print 'Cannot find the src directory.'
return 1
+ # This command is from src/DEPS; please keep them in sync.
+ if subprocess.call(['python', 'build/util/lastchange.py', '-o',
+ 'build/util/LASTCHANGE'], cwd=GetSourceDirectory()) != 0:
+ print 'Could not run build/util/lastchange.py to update LASTCHANGE.'
+ return 1
+
output_fullname = args[0] + '.tar.bz2'
output_basename = os.path.basename(args[0])
« no previous file with comments | « remoting/remoting.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698