OLD | NEW |
---|---|
(Empty) | |
1 #!/usr/bin/env python | |
2 # Copyright 2016 The Chromium Authors. All rights reserved. | |
3 # Use of this source code is governed by a BSD-style license that can be | |
4 # found in the LICENSE file. | |
5 """Checks that the host environment has the necessary packages installed to | |
6 build chrome. | |
7 """ | |
8 | |
9 import subprocess | |
10 import sys | |
11 | |
12 if sys.platform.startswith('linux'): | |
13 if subprocess.call(['src/build/install-build-deps.sh', '--quick-check']): | |
14 print ("Missing build dependencies. " | |
15 "Try running 'build/install-build-deps.sh'") | |
16 exit(1) | |
OLD | NEW |