summaryrefslogtreecommitdiff
blob: 277df292ddfe8b420b54ff2f5be132ede884083a (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/python2
# Copyright 2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

"""Extracts V8 version number based on given version.cc file."""

import sys

import chromium_tools

print chromium_tools.v8_extract_version(open(sys.argv[1]).read())