Przemyslaw Pietrzkiewicz | d4162fc | 2015-04-22 16:37:02 +0200 | [diff] [blame] | 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 | |
Przemyslaw Pietrzkiewicz | 1d702b0 | 2015-05-06 16:50:26 +0200 | [diff] [blame] | 9 | def add_lib_to_path(): |
Przemyslaw Pietrzkiewicz | d4162fc | 2015-04-22 16:37:02 +0200 | [diff] [blame] | 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")) |