Ok I can't explain why this is happening, but here's what I've noticed in regards to the error I mentioned earlier:
Previously I had been editing some CSS files within Blink on master, when I do a gclient sync --jobs=16 - I get:
_____ src/third_party/WebKit at refs/heads/master
Cannot fast-forward merge, attempt to rebase? (y)es / (q)uit / (s)kip : y
Attempting rebase onto refs/remotes/origin/master...
First, rewinding head to replay your work on top of it...
I have found one way to get working builds though, it's to run this command (I had assumed this command was something you run just once - maybe I have to do it after each sync it seems):
$ GYP_GENERATORS=ninja GYP_DEFINES=clang=1 ./build/gyp_chromium
The disadvantage being, the next $ ninja -C src/out/Release chrome takes a lot longer.
So I can get a working build of Chromium by running ./build/gyp_chromium after each update and then running the ninja command. Interestingly enough each sync presents me with a slightly different error message when trying to do a ninja build, my current error:
clang: error: no such file or directory: '../../third_party/angle/src/compiler/DetectRecursion.cpp'
Oh and $ ls -l out/Release/build.ninja
-rw-r--r-- 1 umarhansa staff 102910 20 May 21:35 out/Release/build.ninja
Maybe you're right, something has broken in my repo, I'll try checking out a fresh copy and try to not edit files in master! (that's the only thing I can imagine which has caused this problem)
Thanks
Umar