[WPE] JHBuild build directory DependenciesWPE/Build is not removed by update-webkit...
authoraperez@igalia.com <aperez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 15 Oct 2017 00:24:32 +0000 (00:24 +0000)
committeraperez@igalia.com <aperez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 15 Oct 2017 00:24:32 +0000 (00:24 +0000)
https://bugs.webkit.org/show_bug.cgi?id=178212

Reviewed by Michael Catanzaro.

* Scripts/update-webkit-libs-jhbuild:
(cleanJhbuild): The WPE JHBuild also uses a separate "Build" subdirectory, so do not skip
cleaning it when "--wpe" is passed to the script.

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

Tools/ChangeLog
Tools/Scripts/update-webkit-libs-jhbuild

index 23e2bcf..72c7612 100644 (file)
@@ -1,3 +1,14 @@
+2017-10-14  Adrian Perez de Castro  <aperez@igalia.com>
+
+        [WPE] JHBuild build directory DependenciesWPE/Build is not removed by update-webkit-libs-jhbuild
+        https://bugs.webkit.org/show_bug.cgi?id=178212
+
+        Reviewed by Michael Catanzaro.
+
+        * Scripts/update-webkit-libs-jhbuild:
+        (cleanJhbuild): The WPE JHBuild also uses a separate "Build" subdirectory, so do not skip
+        cleaning it when "--wpe" is passed to the script.
+
 2017-10-13  Adrian Perez de Castro  <aperez@igalia.com>
 
         [WPE] Fontconfig fails build in JHBuild with “error: conflicting types for ‘FcObjectTypeHash’”
index 1079a9e..ec233ca 100755 (executable)
@@ -123,10 +123,7 @@ sub cleanJhbuild()
         die "Cleaning jhbuild sources failed!";
     }
 
-    if (isGtk()) {
-        # GTK+ uses a separate build directory.
-        system("rm -rf $jhbuildPath/Build");
-    }
+    system("rm -rf $jhbuildPath/Build");
 }
 
 delete $ENV{AR_FLAGS} if exists $ENV{AR_FLAGS};