There are couple of files under bindings/js include worker thread related header files without checking ENABLE(WORKERS). So the build can be broken if ENABLE(WORKERS) is 0.
Created attachment 29411 [details] The patch to fix the bug
Comment on attachment 29411 [details] The patch to fix the bug r=me
http://trac.webkit.org/changeset/42413