RESOLVED FIXED 49952
First steps to adding web audio files to build systems
https://bugs.webkit.org/show_bug.cgi?id=49952
Summary First steps to adding web audio files to build systems
Chris Rogers
Reported 2010-11-22 18:32:28 PST
Add AudioContext constructor to DOMWindow.idl
Attachments
Patch (3.40 KB, patch)
2010-11-22 18:36 PST, Chris Rogers
no flags
Patch (21.95 KB, patch)
2010-11-30 14:32 PST, Chris Rogers
no flags
Patch (23.35 KB, patch)
2010-11-30 15:09 PST, Chris Rogers
no flags
Patch (24.01 KB, patch)
2010-12-01 13:01 PST, Chris Rogers
no flags
Patch (25.12 KB, patch)
2010-12-01 13:26 PST, Chris Rogers
no flags
Patch (20.72 KB, patch)
2010-12-02 11:52 PST, Chris Rogers
kbr: review+
commit-queue: commit-queue-
Chris Rogers
Comment 1 2010-11-22 18:36:03 PST
WebKit Review Bot
Comment 2 2010-11-22 18:46:19 PST
Early Warning System Bot
Comment 3 2010-11-22 18:50:01 PST
Eric Seidel (no email)
Comment 4 2010-11-22 19:13:24 PST
WebKit Review Bot
Comment 5 2010-11-22 19:21:04 PST
Chris Rogers
Comment 6 2010-11-22 20:03:39 PST
Comment on attachment 74624 [details] Patch Still needs some more work to iron out build issues.
Chris Rogers
Comment 7 2010-11-30 14:32:06 PST
Chris Rogers
Comment 8 2010-11-30 14:33:44 PST
Still not quite ready, and some of this can probably be split out into a separate patch, but I'd like to see how the buildbots react...
Early Warning System Bot
Comment 9 2010-11-30 14:44:43 PST
Chris Rogers
Comment 10 2010-11-30 15:09:41 PST
Early Warning System Bot
Comment 11 2010-11-30 16:10:55 PST
Andras Becsi
Comment 12 2010-12-01 09:35:15 PST
(In reply to comment #11) > Attachment 75212 [details] did not build on qt: > Build output: http://queues.webkit.org/results/6395122 Please add the idl files to WebCore.pri, or disable WEB_AUDIO on Qt by adding a !contains(DEFINES, ENABLE_WEB_AUDIO=.): DEFINES += ENABLE_WEB_AUDIO=0 to WebCore/features.pri
Chris Rogers
Comment 13 2010-12-01 13:01:48 PST
Chris Rogers
Comment 14 2010-12-01 13:03:15 PST
Andras, thanks for the tip. I've uploaded a new patch to disable WEB_AUDIO for now on Qt.
Early Warning System Bot
Comment 15 2010-12-01 13:15:25 PST
Chris Rogers
Comment 16 2010-12-01 13:26:58 PST
Chris Rogers
Comment 17 2010-12-01 13:27:55 PST
New patch also adds .idl files to WebCore.pri for Qt.
Andras Becsi
Comment 18 2010-12-01 15:24:33 PST
(In reply to comment #17) > New patch also adds .idl files to WebCore.pri for Qt. Thanks very much for doing that. Seems that the generated sources from IDL do not have guards for web audio. Is there a way to add ENABLE guards to an IDL file's includes? The patch looks pretty straightforward altogether, however I'm not a reviewer.
Chris Rogers
Comment 19 2010-12-02 11:52:39 PST
Chris Rogers
Comment 20 2010-12-02 11:55:30 PST
Andras, the IDL glue generation script could maybe be refined to handle this. But, it's good to get the IDL files in the build systems. This new patch removes the AudioContext changes since these were landed in a different patch: http://trac.webkit.org/changeset/73174
Kenneth Russell
Comment 21 2010-12-02 15:11:25 PST
Comment on attachment 75399 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=75399&action=review Looks good as much as can be determined without trying builds on all platforms. r=me with one issue addressed. > WebCore/WebCore.gyp/WebCore.gyp:149 > + '../platform/audio/win', The mac and win include directories should be added in the OS-specific blocks further below this one.
WebKit Commit Bot
Comment 22 2010-12-02 22:17:16 PST
Comment on attachment 75399 [details] Patch Rejecting patch 75399 from commit-queue. Failed to run "['./WebKitTools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=abarth-cq-sl', 'apply-attachment', '--force-clean', '--non-interactive', 75399]" exit_code: 2 Last 500 characters of output: j patching file WebCore/WebCore.pri patching file WebCore/WebCore.pro patching file WebCore/features.pri patching file WebCore/ForwardingHeaders/wtf/Complex.h patching file WebCore/WebCore.gyp/WebCore.gyp patching file WebCore/bindings/js/JSDOMWindowCustom.cpp patching file WebCore/page/DOMWindow.idl patching file WebCore/platform/audio/HRTFElevation.cpp Failed to run "[u'/Users/abarth/git/webkit-queue/WebKitTools/Scripts/svn-apply', u'--reviewer', u'Kenneth Russell', u'--force']" exit_code: 1 Full output: http://queues.webkit.org/results/6716030
Chris Rogers
Comment 23 2010-12-03 12:05:43 PST
Note You need to log in before you can comment on or make changes to this bug.