[webkit-dev] How to add a new file to mac build system?
Joe Mason
jmason at rim.com
Wed Jan 26 12:20:08 PST 2011
WebCore/bindings/scripts/CodeGenerator*.pm
From: webkit-dev-bounces at lists.webkit.org [mailto:webkit-dev-bounces at lists.webkit.org] On Behalf Of Won J Jeon
Sent: Tuesday, January 25, 2011 4:13 PM
To: Mihai Parparita
Cc: webkit-dev at lists.webkit.org
Subject: Re: [webkit-dev] How to add a new file to mac build system?
Thanks, everyone. I figured it out. BTW, where the custom shell script for compiling IDL files described in WebCore.xcodeproj file?
Won
On Tue, Jan 25, 2011 at 10:12 AM, Mihai Parparita <mihaip at chromium.org<mailto:mihaip at chromium.org>> wrote:
You should also make sur that you're doing the same kind of build (i.e. debug vs. release) on both the command-line and in Xcode.
Mihai
On Tue, Jan 25, 2011 at 12:18 AM, Won J Jeon <wjjeon at gmail.com<mailto:wjjeon at gmail.com>> wrote:
Thanks for your response. However, even though I changed the build directory to WebKit/WebKitBuild and added a custom executable (/Application/Safari.app), the same error occurred. BTW, I'm using XCode 3.2.5 on OS X 10.6.6.
Won
On Mon, Jan 24, 2011 at 11:38 PM, Ryosuke Niwa <rniwa at webkit.org<mailto:rniwa at webkit.org>> wrote:
Go to Project setting and set the build directory to be <Project root>/WebKitBuild. By default, it's at Source/WebCore/build and it won't just work.
- Ryosuke
On Mon, Jan 24, 2011 at 11:12 PM, Won J Jeon <wjjeon at gmail.com<mailto:wjjeon at gmail.com>> wrote:
Thanks for your response.
I have no problem to build WebKit from terminal by using 'build-webkit' script.
When I open the project file, 'WebCore.xcodeproj' and tried to compile it by using the default settings, I have the endless error messages starting with:
JavaScriptCore/Platform.h: No such file or directory
"PLATFORM" is not defined
Missing binary operator before token "("
"OS" is not defined
Missing binary operator before token ")"
"PLATFORM" is not defined
Missing binary operator before token "("
...
and it hangs. I have no problem to build 'JavaScriptCore.xcodeproj' with XCode though. Any suggestions?
Thanks,
Won
On Mon, Jan 24, 2011 at 10:00 PM, Patrick Gansterer <paroga at paroga.com<mailto:paroga at paroga.com>> wrote:
Please have a look at [1] and [2]. You need to run build-webkit first.
BTW: If provide error messages instead of "fails to compile" only, it's easier for other people to help you.
[1] http://webkit.org/building/build.html
[2] http://webkit.org/building/debug.html
- Patrick
Won J Jeon:
Thanks, Eric. I opened WebCore.xcodeproj file with XCode but it fails to compile the code and it hangs without success, whereas JavaScriptCore.xcodeproj doesn't have any problem to be compiled with XCode. Are there any known issues with XCode?
Won
On Mon, Jan 24, 2011 at 1:53 PM, Eric Seidel <eric at webkit.org<mailto:eric at webkit.org>> wrote:
There is not a gyp-like build system for Apple's Mac build (yet).
You generally need to use XCode to edit the WebCore.xcodeproj file.
But if you're trying to build on a Mac you need XCode installed
anyway.
.pri and .pro are not related to the Apple Mac build.
-eric
On Mon, Jan 24, 2011 at 1:03 PM, Won J Jeon <wjjeon at gmail.com<mailto:wjjeon at gmail.com>> wrote:
> Hi all,
> I'd like to test some code by adding a new idl and its implementation to
> WebCore on Mac.
> How can I let the build system know the addition of such files?
> Is there any gyp-like build system on Mac?
> Can anyone explain what *.pri and *.pro files are and how I can use them?
> Regards,
> Won
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org<mailto:webkit-dev at lists.webkit.org>
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
_______________________________________________
webkit-dev mailing list
webkit-dev at lists.webkit.org<mailto:webkit-dev at lists.webkit.org>
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
_______________________________________________
webkit-dev mailing list
webkit-dev at lists.webkit.org<mailto:webkit-dev at lists.webkit.org>
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
_______________________________________________
webkit-dev mailing list
webkit-dev at lists.webkit.org<mailto:webkit-dev at lists.webkit.org>
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110126/c8da88b9/attachment.html>
More information about the webkit-dev
mailing list