[webkit-dev] Progressing on the Android port

Adam Barth abarth at webkit.org
Fri May 13 14:27:17 PDT 2011


On Fri, May 13, 2011 at 1:35 PM, Holger Freyther <zecke at selfish.org> wrote:
> On 05/12/2011 05:16 PM, Lucas De Marchi wrote:
>> Hi Holger Freyther,
>> I'm glad to hear you will use CMake as the build system. Take a look
>> on the email I sent yesterday porting GTK to CMake, maybe it will help
>> you.  Since Android and Chromium/Linux have overlaps, do you think
>> it'd be easy to build the Chromium port as well?
>
> I am not sure about Chromium. When one tries to build Chromium a lot of
> external code will be downloaded, I don't have the things in my tree right now
> but IIRC these external modules are all having Gyp files so one would need to
> convert these dependencies and it will be quite some work.

When I investigated switching the Chromium port to CMake, there were
two approaches that seemed plausible.

One approach would be to have CMake generate GYP files and then build
using the generated GYP files, but that seemed to telescope in
complexity.

Another approach would be to have GYP essentially be a wrapper around
CMake and have CMake drive the building of webkit.a (or whatever the
static library is called).  In that approach, we'd then build the
dependencies as usual with GYP and link everything together at the
end.

Of the two, the second seemed more desirable.

Adam


> I am having one specific issue with CMake right now, do you think it would be
> possible to have defaults for WEBKIT_FEATURE(ENABLE_AS_IMAGE "Enable SVG as
> image" DEFAULT ON SVG)? E.g. I need to define ENABLE_GLIB as otherwise I end
> up having a '#define ENABLE_GLIB' in the cmakeconfig.h breaking the build.
>
> regards
>        holger
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>


More information about the webkit-dev mailing list