Currently the MediaStreamAudioSourceNode lists only the MEDIA_SOURCE feature under the Conditional attribute. The compilation then fails when the MEDIA_STREAM feature is enabled but the WEB_AUDIO feature is not.
Both guards are used in MediaStreamAudioSourceNode.cpp but only MEDIA_STREAM in MediaStreamAudioSourceNode.h.
Created attachment 158041 [details]
MediaElementAudioSourceNode suffers the same issue, meaning there would be compilation errors when enabling WEB_AUDIO and disabling the VIDEO feature.
Just to make it clear, the GTK port intends to include all the files into the build, regardless of any feature being enabled or not. The GTK port currently enables the MEDIA_STREAM feature and disables WEB_AUDIO, and that's where the errors were first noticed.
Changing the title accordingly, uploading a new patch soon.
Created attachment 158046 [details]
Comment on attachment 158046 [details]
Clearing flags on attachment: 158046
Committed r125440: <http://trac.webkit.org/changeset/125440>
All reviewed patches have been landed. Closing bug.