Remove code for Chromium from wkbuild.py
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 Apr 2013 10:00:33 +0000 (10:00 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 Apr 2013 10:00:33 +0000 (10:00 +0000)
https://bugs.webkit.org/show_bug.cgi?id=114423

Reviewed by Benjamin Poulain.

* BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
(_should_file_trigger_build):
* BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
(ShouldBuildTest):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@148190 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/BuildSlaveSupport/build.webkit.org-config/wkbuild.py
Tools/BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py
Tools/ChangeLog

index 52bc467ed64d5cb05bcf55c0d23188cf04acfba9..de94d00297709a59bed538da32f9afbf1e06394e 100644 (file)
@@ -55,28 +55,24 @@ def _should_file_trigger_build(target_platform, file):
         ("wx", []),
 
         # Directories that should trigger builds on only some bots.
-        ("Source/WebCore/image-decoders", ["chromium"]),
         ("LayoutTests/platform/mac", ["mac", "win"]),
         ("cairo", ["gtk", "wincairo"]),
-        ("cf", ["chromium-mac", "mac", "qt", "win"]),
-        ("chromium", ["chromium"]),
-        ("cocoa", ["chromium-mac", "mac"]),
+        ("cf", ["mac", "qt", "win"]),
+        ("cocoa", ["mac"]),
         ("curl", ["gtk", "wincairo"]),
         ("gobject", ["gtk"]),
-        ("gpu", ["chromium", "mac"]),
+        ("gpu", ["mac"]),
         ("gstreamer", ["gtk"]),
         ("gtk", ["gtk"]),
-        ("mac", ["chromium-mac", "mac"]),
+        ("mac", ["mac"]),
         ("mac-leopard", ["mac-leopard"]),
         ("mac-lion", ["mac-leopard", "mac-lion", "mac-snowleopard", "win"]),
         ("mac-snowleopard", ["mac-leopard", "mac-snowleopard"]),
         ("mac-wk2", ["mac-lion", "mac-snowleopard", "mac-mountainlion", "win"]),
         ("objc", ["mac"]),
         ("qt", ["qt"]),
-        ("skia", ["chromium"]),
         ("soup", ["gtk"]),
-        ("v8", ["chromium"]),
-        ("win", ["chromium-win", "win"]),
+        ("win", ["win"]),
     ]
     patterns = [
         # Patterns that shouldn't trigger builds on any bots.
@@ -92,11 +88,9 @@ def _should_file_trigger_build(target_platform, file):
 
         # Patterns that should trigger builds on only some bots.
         (r"(?:^|/)GNUmakefile\.am$", ["gtk"]),
-        (r"/\w+Chromium\w*\.(?:cpp|h|mm)$", ["chromium"]),
         (r"Mac\.(?:cpp|h|mm)$", ["mac"]),
         (r"\.(?:vcproj|vsprops|sln|vcxproj|props|filters)$", ["win"]),
         (r"\.exp(?:\.in)?$", ["mac"]),
-        (r"\.gypi?", ["chromium"]),
         (r"\.order$", ["mac"]),
         (r"\.pr[io]$", ["qt"]),
         (r"\.(?:vcproj|vcxproj)/", ["win"]),
index 5b4556a3a1c34ff586a094d123b2ad8ab49c5dbb..220b59052f75ac38dde8ab0ae920f147ad55aa62 100644 (file)
@@ -20,8 +20,7 @@
 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
-import unittest2 as unittest
-
+import unittest
 import wkbuild
 
 
@@ -36,8 +35,6 @@ class ShouldBuildTest(unittest.TestCase):
         (["LayoutTests/platform/mac/foo", "Source/WebCore/bar"], ["*"]),
         (["LayoutTests/foo"], ["*"]),
         (["LayoutTests/canvas/philip/tests/size.attributes.parse.exp-expected.txt", "LayoutTests/canvas/philip/tests/size.attributes.parse.exp.html"], ["*"]),
-        (["LayoutTests/platform/chromium-linux/foo"], ["chromium-linux"]),
-        (["LayoutTests/platform/chromium-win/fast/compact/001-expected.txt"], ["chromium-win"]),
         (["LayoutTests/platform/mac-leopard/foo"], ["mac-leopard"]),
         (["LayoutTests/platform/mac-lion/foo"], ["mac-leopard", "mac-lion", "mac-snowleopard", "win"]),
         (["LayoutTests/platform/mac-snowleopard/foo"], ["mac-leopard", "mac-snowleopard"]),
@@ -47,12 +44,11 @@ class ShouldBuildTest(unittest.TestCase):
         (["LayoutTests/platform/win-wk2/foo"], ["win"]),
         (["LayoutTests/platform/win/foo"], ["win"]),
         (["Source/WebCore.exp.in", "Source/WebKit/mac/WebKit.exp"], ["mac-leopard", "mac-lion",  "mac-mountainlion", "mac-snowleopard"]),
-        (["Source/WebCore/mac/foo"], ["chromium-mac", "mac-leopard", "mac-lion",  "mac-mountainlion", "mac-snowleopard"]),
-        (["Source/WebCore/win/foo"], ["chromium-win", "win"]),
+        (["Source/WebCore/mac/foo"], ["mac-leopard", "mac-lion",  "mac-mountainlion", "mac-snowleopard"]),
+        (["Source/WebCore/win/foo"], ["win"]),
         (["Source/WebCore/platform/graphics/gpu/foo"], ["mac-leopard", "mac-lion",  "mac-mountainlion", "mac-snowleopard"]),
         (["Source/WebCore/platform/wx/wxcode/win/foo"], []),
         (["Source/WebCore/rendering/RenderThemeMac.mm", "Source/WebCore/rendering/RenderThemeMac.h"], ["mac-leopard", "mac-lion",  "mac-mountainlion", "mac-snowleopard"]),
-        (["Source/WebCore/rendering/RenderThemeChromiumDefault.h"], ["chromium-linux"]),
         (["Source/WebCore/rendering/RenderThemeWinCE.h"], []),
         (["Tools/BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js"], []),
     ]
index c1850f9470c26248b1d3558bc6bf9ea5c222cce5..47348ffafa8b6377a103255d1d46312551d167ac 100644 (file)
@@ -1,3 +1,15 @@
+2013-04-11  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Remove code for Chromium from wkbuild.py
+        https://bugs.webkit.org/show_bug.cgi?id=114423
+
+        Reviewed by Benjamin Poulain.
+
+        * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
+        (_should_file_trigger_build):
+        * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
+        (ShouldBuildTest):
+
 2013-04-11  Philippe Normand  <pnormand@igalia.com>
 
         Unreviewed, update my IRC nickname.