* here's how .gclient should look like-----solutions = [{'managed': False,'name': 'src','deps_file': '.DEPS.git','safesync_url': u''}]target_os = ['mac']
--
Those custom deps entries are all irrelevant now and don't work, I think. It isn't possible to exclude specific directories like layout tests in git, this only worked when we used svn.
If you want a smaller download pass --nohistory to fetch, to only download the current tip of tree version and not the entire history. Other than that there are not many improvements to be had.
Build Order
@Christian - thank you so much, this is very helpful. Does the following make sense? Not sure how to set the GYP_DEFINES (are they environment variables?) and do I need to set them again when I switch branches?
--
If you deleted the shallow file already your repository is now broken and you won't be able to unshallow it. You'll have to download a fresh copy.
Also, yes, if you have a shallow checkout you will not be able to sync with branch heads unless you first unshallow it. The shallow config basically says "never ever download any commit that is earlier in history than this point", and --no-history sets that point to " the current latest master branch commit". All the release branches are earlier in history than that, so cannot be downloaded. If you want to use release branches you will have to use a full checkout.