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