Changeset 125443 in webkit for trunk/Source/JavaScriptCore/shell


Ignore:
Timestamp:
Aug 13, 2012, 1:38:06 PM (13 years ago)
Author:
[email protected]
Message:

[CMake] Remove glib-related Find modules and write single new one instead.
https://bugs.webkit.org/show_bug.cgi?id=93786

Reviewed by Rob Buis.

.:

As part of the ongoing effort to write proper Find modules that use
absolute include and library paths instead of the short ones from
pkg-config, replace Find{GIO,Glib,Gthread}.cmake with a single
FindGLIB.cmake that optionally detects components such as GIO and
GObject.

Library paths are now defined as "/full/path/to/libfoo.so" instead of
simply "foo", so that the linker receives a full path and we can then
avoid accidentally picking up a libfoo.so installed into /usr/lib
instead of a local one built with jhbuild.

  • Source/cmake/FindGIO.cmake: Removed.
  • Source/cmake/FindGLIB.cmake: Added.
  • Source/cmake/FindGlib.cmake: Removed.
  • Source/cmake/FindGthread.cmake: Removed.
  • Source/cmake/OptionsEfl.cmake: Look for GLIB with the GIO component.

Source/JavaScriptCore:

  • shell/PlatformEfl.cmake: Use GLIB_* instead of Glib_*.

Source/WebCore:

No new tests, build system plumbing.

  • PlatformEfl.cmake: Use GLIB_* instead of Glib_*, and link

directly against GIO, as code in the soup network backend uses
that.

Source/WebKit:

  • PlatformEfl.cmake: Use GLIB_* instead of Glib_*.

Source/WebKit2:

  • PlatformEfl.cmake: Use GLIB_* instead of Glib_*.

Source/WTF:

  • wtf/PlatformEfl.cmake: Use GLIB_* instead of Glib_*, and link directly to GIO, as wtf/gobject uses functions from it.

Tools:

  • DumpRenderTree/efl/CMakeLists.txt: Use GLIB_* instead of Glib_*.
  • EWebLauncher/CMakeLists.txt: Ditto.
  • MiniBrowser/efl/CMakeLists.txt: Ditto.
  • WebKitTestRunner/PlatformEfl.cmake: Ditto.
File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.