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

Unified Diff: third_party/WebKit/LayoutTests/PRESUBMIT.py

Issue 2302653002: Update list of resource files to copy from web-platform-tests. (Closed)
Patch Set: Update comments, move lists Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/PRESUBMIT.py
diff --git a/third_party/WebKit/LayoutTests/PRESUBMIT.py b/third_party/WebKit/LayoutTests/PRESUBMIT.py
index c6566a7e22eb61667d7c59ae3d7ccb4c3ff4a677..815b34e120ef324ceddda848b5f81fd94639bae0 100644
--- a/third_party/WebKit/LayoutTests/PRESUBMIT.py
+++ b/third_party/WebKit/LayoutTests/PRESUBMIT.py
@@ -57,20 +57,20 @@ def _TestharnessBaselineFilesToCheck(input_api):
def _CheckIdenticalFiles(input_api, output_api):
"""Verifies that certain files are identical in various locations.
- These files should always be updated together."""
+ These files should always be updated together. If this list is modified,
+ consider also changing the list of files to copy from web-platform-tests
+ when importing in Tools/Scripts/webkitpy/deps_updater.py.
+ """
dirty_files = set(input_api.LocalPaths())
- groups = [[
- 'imported/wpt/resources/testharness.js',
- 'resources/testharness.js',
- ], [
- 'imported/wpt/resources/testharnessreport.js',
- 'resources/testharnessreport.js',
- ], [
- 'imported/wpt/resources/idlharness.js',
- 'resources/idlharness.js',
- ]]
+ groups = [
+ ('imported/wpt/common/vendor-prefix.js', 'resources/vendor-prefix.js'),
+ ('imported/wpt/resources/idlharness.js', 'resources/idlharness.js'),
+ ('imported/wpt/resources/testharness.js', 'resources/testharness.js'),
+ ('imported/wpt/resources/testharnessreport.js', 'resources/testharnessreport.js'),
+ ('imported/wpt/resources/WebIDLParser.js', 'resources/WebIDLParser.js'),
+ ]
def _absolute_path(s):
return input_api.os_path.join(input_api.PresubmitLocalPath(), *s.split('/'))
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698