RESOLVED FIXED 14527
Presence of WebCore/ForwardingHeaders/JavaScriptCore breaks standalone WebCore build
https://bugs.webkit.org/show_bug.cgi?id=14527
Summary Presence of WebCore/ForwardingHeaders/JavaScriptCore breaks standalone WebCor...
Mark Rowe (bdash)
Reported 2007-07-04 22:52:34 PDT
WebCore needs to be able to build without having JavaScriptCore.framework in the built products. In several places WebCore uses framework-style #includes to pull in JavaScriptCore headers, such as InspectorController.h:33 which does #include <JavaScriptCore/JSContextRef.h> JSContextRef.h lives in the source under JavaScriptCore/API/JSContextRef.h. As ForwardingHeaders is added to the header search path, any headers inside ForwardingHeaders/JavaScriptCore will be found before those inside the system JavaScriptCore.framework if there is no JavaScriptCore.framework in the built products directory. ForwardingHeaders/JavaScriptCore exists at this point because the Qt and Gdk ports do not have a "copy headers" build step which copies headers into the structure that WebCore expects. The end result: until this is resolved we need to manually remove WebCore/ForwardingHeaders/JavaScriptCore before building WebCore standalone or else the build will fail.
Attachments
Move WebCore/ForwardingHeaders/JavaScriptCore away from WebCore (5.69 KB, patch)
2007-07-11 11:01 PDT, Holger Freyther
darin: review+
Mark Rowe (bdash)
Comment 1 2007-07-04 22:52:50 PDT
Mark Rowe (bdash)
Comment 2 2007-07-04 22:55:14 PDT
The Qt and Gdk port build systems need to be changed to copy the headers into expected locations ASAP. We can't have this breaking the Mac build for long.
George Staikos
Comment 3 2007-07-06 10:49:43 PDT
I'm really not sure what we should do here. Copying the files is ugly and it seems like this is both an issue of using install-time headers during compile time, and of trying to hack around an OS X limitation by adding that limitation and workaround everywhere else too.
Mark Rowe (bdash)
Comment 4 2007-07-09 20:31:43 PDT
I'm not overly concerned with how this is resolved. If you have a solution that will work without the copying of headers, please feel free to take that approach.
Holger Freyther
Comment 5 2007-07-11 11:01:00 PDT
Created attachment 15475 [details] Move WebCore/ForwardingHeaders/JavaScriptCore away from WebCore The most easy way is to copy the offending directory to a place not used by the MacPort. One proposal for such a directory would be JavaScriptCore/ForwardingHeaders.
Darin Adler
Comment 6 2007-07-11 12:21:35 PDT
Comment on attachment 15475 [details] Move WebCore/ForwardingHeaders/JavaScriptCore away from WebCore r=me
David Kilzer (:ddkilzer)
Comment 7 2007-07-11 21:20:47 PDT
Fixed by darin in r24210.
David Kilzer (:ddkilzer)
Comment 8 2007-07-11 21:23:19 PDT
(In reply to comment #7) > Fixed by darin in r24210. Build fix by staikos in r24224.
Note You need to log in before you can comment on or make changes to this bug.