[GTK] Connect the gyp build to autoconf
authormrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Feb 2013 02:40:09 +0000 (02:40 +0000)
committermrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Feb 2013 02:40:09 +0000 (02:40 +0000)
commitdac4600aa4b0f6b3d9776a0154e76651bfc10572
tree4c93124cdd1409e4ec991881bc02889e8f4be8b6
parent43164bb563ea5844417d4c690ce723c714c19a16
[GTK] Connect the gyp build to autoconf
https://bugs.webkit.org/show_bug.cgi?id=109360

Reviewed by Dirk Pranke.

Move Configuration.gypi to Configuration.gypi.in and allow autoconf to
fill in variables during a configuration phase. Also add some scripts
to support connecting autoconf up to the gyp build. This allows us
to have a very autotools-esque experience.

* gyp/Configuration.gypi: Removed.
* gyp/Configuration.gypi.in: Added. Fleshed out Configuration.gypi to include
dependency CFLAGS and LIBS directly from configure. Due to the way we are
generating the gyp build now, we also need to include an absolute path to
the build directory. Fixing bugs in gyp should allow us to avoid this in the
future.
* gyp/Dependencies.gyp: Added this file which holds external dependency targets.
We could consider auto-generating this at some point.
* gyp/JavaScriptCore.gyp: Remove references to the old Configuration.gypi.
It's now included via the command-line -I flag. Update to support the new
s/default/global/g terminology for variables.
* gyp/WTF.gyp: Remove the dependency targets as this is now handled entirely
by autoconf.
* gyp/autogen.sh: Added. Set up the build directory and kick off autoconf.
* gyp/configure.ac: Added. An autoconf build that re-uses much of our
existing autoconf setup.
* gyp/run-gyp: Added. Script for invoking gyp for out-of-tree builds.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@142706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/gtk/ChangeLog
Source/WebKit/gtk/gyp/Configuration.gypi [deleted file]
Source/WebKit/gtk/gyp/Configuration.gypi.in [new file with mode: 0644]
Source/WebKit/gtk/gyp/Dependencies.gyp [new file with mode: 0644]
Source/WebKit/gtk/gyp/JavaScriptCore.gyp
Source/WebKit/gtk/gyp/WTF.gyp
Source/WebKit/gtk/gyp/autogen.sh [new file with mode: 0755]
Source/WebKit/gtk/gyp/configure.ac [new file with mode: 0644]
Source/WebKit/gtk/gyp/run-gyp [new file with mode: 0755]