Merge revision 797 changes:

- Mac: Add version number to dylib files (issue #730).


git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1180@798 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2012-09-26 15:49:24 +00:00
parent 1c3944a288
commit a16f204974
2 changed files with 25 additions and 0 deletions

19
cef1/tools/revision.py Normal file
View File

@@ -0,0 +1,19 @@
# Copyright (c) 2012 The Chromium Embedded Framework Authors. All rights
# reserved. Use of this source code is governed by a BSD-style license that
# can be found in the LICENSE file.
import svn_util as svn
import git_util as git
import sys
# cannot be loaded as a module
if __name__ != "__main__":
sys.stderr.write('This file cannot be loaded as a module!')
sys.exit()
try:
sys.stdout.write(svn.get_revision())
except:
sys.stdout.write(git.get_svn_revision())