Following the convention used for other feature defines, such as Blob and FileAPI, we should only generate from the WebGL IDLs when building with WebGL enabled.
Created attachment 113568 [details] Patch
Comment on attachment 113568 [details] Patch Looks reasonable to me.
Committed r99245: <http://trac.webkit.org/changeset/99245>