Summary: | [GTK] Disable gtk-doc and gobject-introspection when crossbuilding | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Emanuele Aina <emanuele.aina> | ||||||
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | cgarcia, darin, mrobinson, pnormand, svillar | ||||||
Priority: | P3 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | PC | ||||||||
OS: | Linux | ||||||||
Attachments: |
|
Description
Emanuele Aina
2015-07-03 06:27:44 PDT
Created attachment 256099 [details]
Patch
Comment on attachment 256099 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=256099&action=review > Source/cmake/OptionsGTK.cmake:73 > +# Override the cached variables, gtk-doc and gobject-introspection do not really work when cross-building > +if (CMAKE_CROSSCOMPILING) > + set(ENABLE_GTKDOC OFF) > + set(ENABLE_INTROSPECTION OFF) > +endif () Lets move this down to after the USE_LIBHYPHEN check near line 429. It's a bit strange to do this in the middle of the definition of all the options. Created attachment 256105 [details]
Patch
> Lets move this down to after the USE_LIBHYPHEN check near line 429. It's a bit strange to do this in the middle of the definition of all the options.
Indeed, I wasn't sure if it was better to keep the override close to the original definition or move it in a more appropriate place.
I've updated the patch and took the liberty of listing you as reviewer in the ChangeLog (is it correct to do so?).
(In reply to comment #4) > > Lets move this down to after the USE_LIBHYPHEN check near line 429. It's a bit strange to do this in the middle of the definition of all the options. > > Indeed, I wasn't sure if it was better to keep the override close to the > original definition or move it in a more appropriate place. > > I've updated the patch and took the liberty of listing you as reviewer in > the ChangeLog (is it correct to do so?). It usually isn't necessary. The tools typically fill it in by reading who attaches the r+ in Bugzilla. Committed r186259: <http://trac.webkit.org/changeset/186259> Thanks for the patch! I took the liberty of landing it. Thanks! :D |