Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import os | |
| 6 import sys | |
| 7 | |
| 8 | |
| 9 def add_pylib_to_path(): | |
| 10 """ Adds the devtools pylib to path, allowing to use it in the internal | |
| 11 /mojo/tools/ tooling. """ | |
| 12 sys.path.append(os.path.join(os.path.dirname(__file__), | |
| 13 os.pardir, | |
| 14 "devtools", | |
| 15 "common")) | |
| OLD | NEW |