Changeset 167510 in webkit
- Timestamp:
- Apr 18, 2014, 2:41:39 PM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 4 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/webkitpy/port/gtk.py (modified) (1 diff)
-
gtk/jhbuild.modules (modified) (3 diffs)
-
gtk/jhbuildrc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r167494 r167510 1 2014-04-18 Martin Robinson <mrobinson@igalia.com> 2 3 [GTK] Add llvmpipe (Mesa) to the JHBuild moduleset and force it when running layout tests 4 https://bugs.webkit.org/show_bug.cgi?id=131472 5 6 Reviewed by Philippe Normand. 7 8 * Scripts/webkitpy/port/gtk.py: 9 (GtkPort.setup_environ_for_server): Use the LLVMPIPE_LIBGL_PATH to set the LD_LIBRARY_PATH 10 when running WebKitTestRunner with run-webkit-tests. 11 * gtk/jhbuild.modules: Add Mesa to the modulelist so that the llvmpipe libGL is build, but not 12 installed. 13 * gtk/jhbuildrc: Set the LLVMPIPE_LIBGL_PATH environment variable so that the test driver knows 14 how to properly set the LD_LIBRARY_PATH variable. We do this because it is much easier to 15 calculate the path in the jhbuildrc than in the test driver code. This simplifies things a great 16 deal. 17 1 18 2014-04-18 Alexey Proskuryakov <ap@apple.com> 2 19 -
trunk/Tools/Scripts/webkitpy/port/gtk.py
r166239 r167510 104 104 environment['TEST_RUNNER_TEST_PLUGIN_PATH'] = self._build_path('lib') 105 105 environment['AUDIO_RESOURCES_PATH'] = self.path_from_webkit_base('Source', 'WebCore', 'platform', 'audio', 'resources') 106 107 llvmpipe_libgl_path = os.environ.get('LLVMPIPE_LIBGL_PATH') 108 if llvmpipe_libgl_path: 109 environment['LD_LIBRARY_PATH'] = '%s:%s' % (llvmpipe_libgl_path, os.environ.get('LD_LIBRARY_PATH', '')) 110 106 111 self._copy_value_from_environ_if_set(environment, 'WEBKIT_OUTPUTDIR') 107 112 if self.get_option("leaks"): -
trunk/Tools/gtk/jhbuild.modules
r166288 r167510 30 30 <dep package="gst-libav"/> 31 31 <dep package="xserver"/> 32 <dep package="mesa"/> 32 33 </dependencies> 33 34 </metamodule> … … 49 50 <repository type="tarball" name="xorg" 50 51 href="http://xorg.freedesktop.org"/> 52 <repository type="tarball" name="ftp.freedesktop.org" 53 href="ftp://ftp.freedesktop.org"/> 51 54 <repository type="tarball" name="xmlsoft.org" 52 55 href="ftp://xmlsoft.org"/> … … 332 335 </autotools> 333 336 337 <autotools id="mesa" autogenargs="--enable-xlib-glx --disable-dri" skip-install="true"> 338 <branch module="/pub/mesa/10.0.4/MesaLib-10.0.4.tar.bz2" version="10.0.4" 339 checkoutdir="Mesa-10.0.4" 340 repo="ftp.freedesktop.org" 341 hash="sha256:ff6eb552becb25a318e53ac56b95a8c2d49e83ad674d87f52e811c0a20c25a40"/> 342 </autotools> 343 334 344 </moduleset> -
trunk/Tools/gtk/jhbuildrc
r165485 r167510 32 32 # annotations sooner rather than later. 33 33 autogenargs='--enable-introspection' 34 35 if use_lib64: 36 os.environ['LLVMPIPE_LIBGL_PATH'] = os.path.abspath(os.path.join(checkoutroot, 'Mesa-10.0.4', 'lib64')) 37 else: 38 os.environ['LLVMPIPE_LIBGL_PATH'] = os.path.abspath(os.path.join(checkoutroot, 'Mesa-10.0.4', 'lib'))
Note:
See TracChangeset
for help on using the changeset viewer.