Chromium Code Reviews| Index: Tools/Scripts/webkitpy/thirdparty/wpt/wpt/tools/localpaths.py |
| diff --git a/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/tools/localpaths.py b/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/tools/localpaths.py |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..dcd19c35b33798555f2f96727c82b0f4998d432d |
| --- /dev/null |
| +++ b/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/tools/localpaths.py |
| @@ -0,0 +1,11 @@ |
| +import os |
|
Dirk Pranke
2015/06/15 23:41:48
Can we drop this file from the import? I don't thi
burnik
2015/06/16 09:24:34
This is third party code (run as part of WPT serve
Dirk Pranke
2015/06/17 04:19:39
I don't understand; can't you just remove localpat
burnik
2015/06/17 08:24:27
It's being imported in thirdparty/wpt/wpt/tools/se
|
| +import sys |
| + |
| +here = os.path.abspath(os.path.split(__file__)[0]) |
| +repo_root = os.path.abspath(os.path.join(here, os.pardir)) |
| + |
| +sys.path.insert(0, os.path.join(repo_root, "tools")) |
| +sys.path.insert(0, os.path.join(repo_root, "tools", "six")) |
| +sys.path.insert(0, os.path.join(repo_root, "tools", "html5lib")) |
| +sys.path.insert(0, os.path.join(repo_root, "tools", "wptserve")) |
| +sys.path.insert(0, os.path.join(repo_root, "tools", "pywebsocket", "src")) |