Rename WebKitTools to Tools
[WebKit-https.git] / Tools / Scripts / webkitpy / style / checker.py
similarity index 99%
rename from WebKitTools/Scripts/webkitpy/style/checker.py
rename to Tools/Scripts/webkitpy/style/checker.py
index e9ea8ee..6f1beb0 100644 (file)
@@ -119,11 +119,11 @@ _PATH_RULES_SPECIFIER = [
 
     ([# TestNetscapePlugIn has no config.h and uses funny names like
       # NPP_SetWindow.
-      "WebKitTools/DumpRenderTree/TestNetscapePlugIn/",
+      "Tools/DumpRenderTree/TestNetscapePlugIn/",
       # The API test harnesses have no config.h and use funny macros like
       # TEST_CLASS_NAME.
-      "WebKitTools/WebKitAPITest/",
-      "WebKitTools/TestWebKitAPI/"],
+      "Tools/WebKitAPITest/",
+      "Tools/TestWebKitAPI/"],
      ["-build/include",
       "-readability/naming"]),
     ([# The EFL APIs use EFL naming style, which includes
@@ -145,7 +145,7 @@ _PATH_RULES_SPECIFIER = [
       # Also, GTK+ allows the use of NULL.
       "WebCore/bindings/scripts/test/GObject",
       "WebKit/gtk/webkit/",
-      "WebKitTools/DumpRenderTree/gtk/"],
+      "Tools/DumpRenderTree/gtk/"],
      ["-readability/naming",
       "-readability/null"]),
     ([# Header files in ForwardingHeaders have no header guards or
@@ -472,7 +472,7 @@ class CheckerDispatcher(object):
         elif file_extension in _XML_FILE_EXTENSIONS:
             return FileType.XML
         elif (os.path.basename(file_path).startswith('ChangeLog') or
-              (not file_extension and "WebKitTools/Scripts/" in file_path) or
+              (not file_extension and "Tools/Scripts/" in file_path) or
               file_extension in _TEXT_FILE_EXTENSIONS):
             return FileType.TEXT
         else: