diff options
author | mnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-31 10:53:39 +0000 |
---|---|---|
committer | mnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-31 10:53:39 +0000 |
commit | b0abfb679a836ccb7d6da8d6f3c9c942a9295c9a (patch) | |
tree | 88c3760c6c71f344d2810d1e3d1d8e400c8ac0ec /tools/export_tarball | |
parent | b5ded6e76b0f0a95c17de3a1b59ab279369c1ee0 (diff) | |
download | chromium_src-b0abfb679a836ccb7d6da8d6f3c9c942a9295c9a.zip chromium_src-b0abfb679a836ccb7d6da8d6f3c9c942a9295c9a.tar.gz chromium_src-b0abfb679a836ccb7d6da8d6f3c9c942a9295c9a.tar.bz2 |
Generate and use LASTCHANGE for blink
The main reason for making this change is the fact that when pulling
Chromium and Blink code into Android, we have to make automatic changes
to the repository (for example, for generating *.mk files), and the Blink
commit we have as HEAD doesn't match any public commit in the main
Blink repo. While via the LASTCHANGE file we could report a publicly
visible revision.
Also, the way webkit_version.h header is generated now appears to be silly.
First, it doesn't leverage enough existing tools. Second, as it is noted in
webkit_user_agent.gypi, it is broken for incremental builds.
Review URL: https://chromiumcodereview.appspot.com/14973005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/export_tarball')
-rwxr-xr-x | tools/export_tarball/export_tarball.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/export_tarball/export_tarball.py b/tools/export_tarball/export_tarball.py index 148162b..ec0785c 100755 --- a/tools/export_tarball/export_tarball.py +++ b/tools/export_tarball/export_tarball.py @@ -134,11 +134,17 @@ def main(argv): print 'Cannot find the src directory ' + GetSourceDirectory() return 1 - # This command is from src/DEPS; please keep them in sync. + # These two commands are 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 + if subprocess.call(['python', 'build/util/lastchange.py', '-s', + 'src/third_party/WebKit', '-o', + 'src/build/util/LASTCHANGE.blink'], + cwd=GetSourceDirectory()) != 0: + print 'Could not run build/util/lastchange.py to update LASTCHANGE.blink.' + return 1 output_fullname = args[0] + '.tar' output_basename = options.basename or os.path.basename(args[0]) |