[WPE] Should load injected bundle from builddir in developer builds
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Apr 2018 21:16:49 +0000 (21:16 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Apr 2018 21:16:49 +0000 (21:16 +0000)
https://bugs.webkit.org/show_bug.cgi?id=184983

Reviewed by Carlos Alberto Lopez Perez.

Set WEBKIT_INJECTED_BUNDLE_PATH when running WPE MiniBrowser.

* Scripts/run-minibrowser:

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

Tools/ChangeLog
Tools/Scripts/run-minibrowser

index 3d226d7..8830ea8 100644 (file)
@@ -1,5 +1,16 @@
 2018-04-25  Michael Catanzaro  <mcatanzaro@igalia.com>
 
+        [WPE] Should load injected bundle from builddir in developer builds
+        https://bugs.webkit.org/show_bug.cgi?id=184983
+
+        Reviewed by Carlos Alberto Lopez Perez.
+
+        Set WEBKIT_INJECTED_BUNDLE_PATH when running WPE MiniBrowser.
+
+        * Scripts/run-minibrowser:
+
+2018-04-25  Michael Catanzaro  <mcatanzaro@igalia.com>
+
         [WPE] libgstggtk.so broken in jhbuild environment
         https://bugs.webkit.org/show_bug.cgi?id=184984
 
index 13c6ea7..86ccca0 100755 (executable)
@@ -60,6 +60,7 @@ if (isGtk()) {
     $launcherName = launcherName();
     @jhbuildWrapper = wrapperPrefixIfNeeded();
     $ENV{"WEBKIT_EXEC_PATH"} = catdir(productDir(), "bin");
+    $ENV{"WEBKIT_INJECTED_BUNDLE_PATH"} = catdir(productDir(), "lib");
     $ENV{"LD_LIBRARY_PATH"} = catdir(productDir(), "lib") . (defined $ENV{"LD_LIBRARY_PATH"} ? ":" . $ENV{"LD_LIBRARY_PATH"} : "" );
     print "Starting $launcherName \n";
     exec @jhbuildWrapper, $launcherName, @ARGV or die;