Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1447)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/w3c/chromium_finder.py

Issue 2690333005: [WPT Export] Fix remaining Git working directory bugs (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698