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

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 export_tarball to run lastchange.py 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..cc599c3ebfa1ccd33708d0c3caa67d470561bd01 100755
--- a/tools/export_tarball/export_tarball.py
+++ b/tools/export_tarball/export_tarball.py
@@ -101,6 +101,11 @@ def main(argv):
print 'Cannot find the src directory.'
return 1
+ if subprocess.call(['python', 'build/util/lastchange.py', '-o',
Paweł Hajdan Jr. 2012/05/25 18:49:35 This is introducing code duplication. I appreciate
+ '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