FindGTK3.cmake touches both ENABLE_X11_TARGET and ENABLE_WAYLAND_TARGET currently. I didn't realize it was doing that (since it is just a find module and I didn't anticipate it having side effects). Anyway, that won't work as expected anymore since this code runs after the values of those settings have already gone into the FEATURE_DEFINES list, so you would wind up with e.g. ENABLE_X11_TARGET turned off for most of the build, but on in other places (like IDL files).
Nice catch.
Created attachment 252957 [details] [CMake] FindGTK3.cmake should not modify the values of build options
I will land this without the dependency on the OS X patch.
Created attachment 255258 [details] Patch
Comment on attachment 255258 [details] Patch Typos
Created attachment 255261 [details] Patch
The commit-queue encountered the following flaky tests while processing attachment 255261 [details]: transitions/default-timing-function.html bug 138901 (author: simon.fraser@apple.com) The commit-queue is continuing to process your patch.
The commit-queue encountered the following flaky tests while processing attachment 255261 [details]: The commit-queue is continuing to process your patch.
Comment on attachment 255261 [details] Patch Clearing flags on attachment: 255261 Committed r185788: <http://trac.webkit.org/changeset/185788>
All reviewed patches have been landed. Closing bug.