- Add about:version, about:credits and about:license internal URLs (issue #731).

- Centralize retrieval of the CEF major version number from a new VERSION file.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@845 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2012-10-08 17:47:37 +00:00
parent 167c601f29
commit 1098949521
25 changed files with 914 additions and 170 deletions

View File

@ -109,3 +109,11 @@ def make_dir(name, quiet = True):
def get_files(search_glob):
""" Returns all files matching the search glob. """
return iglob(search_glob)
def read_version_file(file, args):
""" Read and parse a version file (key=value pairs, one per line). """
lines = read_file(file).split("\n")
for line in lines:
parts = line.split('=', 1)
if len(parts) == 2:
args[parts[0]] = parts[1]