summaryrefslogtreecommitdiff
path: root/chromium/tools/clang/scripts/posix-print-revision.py
blob: 5ac5277a98ccd6754901018bcbecbd15c0974f02 (plain)
1
2
3
4
5
6
7
8
9
10
11
# Copyright 2014 The Chromium 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 os
import sys

# GN only supports shelling to python. Until update.py is used on all
# platforms (currently only Windows), wrap update.sh.
sys.exit(os.system(os.path.join(os.path.dirname(__file__), 'update.sh') +
                   ' --print-revision'))