Chromium Code Reviews| Index: third_party/WebKit/Tools/Scripts/webkitpy/w3c/chromium_finder.py |
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/chromium_finder.py b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/chromium_finder.py |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9b56adaf207385d1d9d426b220b3188a6ac2b532 |
| --- /dev/null |
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/chromium_finder.py |
| @@ -0,0 +1,18 @@ |
| +# Copyright 2017 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +from webkitpy.common.memoized import memoized |
| +from webkitpy.common.webkit_finder import WebKitFinder |
| + |
| + |
| +@memoized |
| +def absolute_chromium_wpt_dir(host): |
| + finder = WebKitFinder(host.filesystem) |
| + return finder.path_from_webkit_base('LayoutTests', 'external', 'wpt') |
| + |
| + |
| +@memoized |
| +def absolute_chromium_dir(host): |
| + finder = WebKitFinder(host.filesystem) |
| + return finder.chromium_base() |
|
jeffcarp
2017/02/14 21:07:26
I needed to create this file to avoid a cyclical d
|