git-sync-deps: handle recursion and deps_os at the same time
git-sync-deps: handle recursion and deps_os at the same time

NOTRY=true
R=mtklein@google.com, borenet@google.com

Author: halcanary@google.com

Review URL: https://codereview.chromium.org/494713005

MinimalOS/android_external_chromium_org_third_party_skia,android-ia/platform_external_chromium_org_third_party_skia,Igalia/skia,Fusion-Rom/external_chromium_org_third_party_skia,samuelig/skia,PAC-ROM/android_external_skia,google/skia,ench0/external_chromium_org_third_party_skia,MyAOSP/external_chromium_org_third_party_skia,qrealka/skia-hc,ominux/skia,tmpvar/skia.cc,TeamTwisted/external_skia,OneRom/external_skia,Omegaphora/external_chromium_org_third_party_skia,MonkeyZZZZ/platform_external_skia,mydongistiny/external_chromium_org_third_party_skia,aosp-mirror/platform_external_skia,samuelig/skia,AOSP-YU/platform_external_skia,TeamExodus/external_skia,PAC-ROM/android_external_skia,nvoron23/skia,ominux/skia,MinimalOS-AOSP/platform_external_skia,DARKPOP/external_chromium_org_third_party_skia,Omegaphora/external_chromium_org_third_party_skia,PAC-ROM/android_external_skia,ench0/external_chromium_org_third_party_skia,ominux/skia,ench0/external_chromium_org_third_party_skia,Igalia/skia,UBERMALLOW/external_skia,Infinitive-OS/platform_external_skia,UBERMALLOW/external_skia,Hikari-no-Tenshi/android_external_skia,qrealka/skia-hc,AOSPB/external_skia,VRToxin-AOSP/android_external_skia,MonkeyZZZZ/platform_external_skia,timduru/platform-external-skia,nvoron23/skia,ominux/skia,MinimalOS/android_external_chromium_org_third_party_skia,ench0/external_chromium_org_third_party_skia,shahrzadmn/skia,FusionSP/external_chromium_org_third_party_skia,vanish87/skia,todotodoo/skia,TeamTwisted/external_skia,Hikari-no-Tenshi/android_external_skia,jtg-gg/skia,AOSPB/external_skia,rubenvb/skia,nvoron23/skia,VRToxin-AOSP/android_external_skia,FusionSP/external_chromium_org_third_party_skia,mydongistiny/external_chromium_org_third_party_skia,Fusion-Rom/external_chromium_org_third_party_skia,MinimalOS/android_external_chromium_org_third_party_skia,vanish87/skia,invisiblek/android_external_skia,MarshedOut/android_external_skia,w3nd1go/android_external_skia,vanish87/skia,boulzordev/android_external_skia,nfxosp/platform_external_skia,invisiblek/android_external_skia,noselhq/skia,aosp-mirror/platform_external_skia,timduru/platform-external-skia,HalCanary/skia-hc,Infinitive-OS/platform_external_skia,Jichao/skia,invisiblek/android_external_skia,BrokenROM/external_skia,MinimalOS/android_external_chromium_org_third_party_skia,Fusion-Rom/external_chromium_org_third_party_skia,FusionSP/external_chromium_org_third_party_skia,amyvmiwei/skia,MonkeyZZZZ/platform_external_skia,VRToxin-AOSP/android_external_skia,samuelig/skia,Jichao/skia,tmpvar/skia.cc,MonkeyZZZZ/platform_external_skia,todotodoo/skia,noselhq/skia,mydongistiny/external_chromium_org_third_party_skia,nfxosp/platform_external_skia,MarshedOut/android_external_skia,google/skia,noselhq/skia,AOSP-YU/platform_external_skia,OneRom/external_skia,OptiPop/external_chromium_org_third_party_skia,vanish87/skia,HalCanary/skia-hc,spezi77/android_external_skia,OneRom/external_skia,scroggo/skia,chenlian2015/skia_from_google,Igalia/skia,tmpvar/skia.cc,noselhq/skia,TeamTwisted/external_skia,nvoron23/skia,vanish87/skia,qrealka/skia-hc,VRToxin-AOSP/android_external_skia,MinimalOS-AOSP/platform_external_skia,Hikari-no-Tenshi/android_external_skia,geekboxzone/mmallow_external_skia,nvoron23/skia,invisiblek/android_external_skia,AOSP-YU/platform_external_skia,AOSP-YU/platform_external_skia,vanish87/skia,AOSPB/external_skia,ominux/skia,UBERMALLOW/external_skia,qrealka/skia-hc,Hikari-no-Tenshi/android_external_skia,MinimalOS/external_chromium_org_third_party_skia,samuelig/skia,timduru/platform-external-skia,MinimalOS/android_external_chromium_org_third_party_skia,android-ia/platform_external_chromium_org_third_party_skia,OptiPop/external_chromium_org_third_party_skia,amyvmiwei/skia,pcwalton/skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,PAC-ROM/android_external_skia,AOSPB/external_skia,TeamExodus/external_skia,MinimalOS/external_chromium_org_third_party_skia,BrokenROM/external_skia,w3nd1go/android_external_skia,mydongistiny/external_chromium_org_third_party_skia,aosp-mirror/platform_external_skia,VRToxin-AOSP/android_external_skia,OptiPop/external_chromium_org_third_party_skia,HalCanary/skia-hc,todotodoo/skia,Jichao/skia,spezi77/android_external_skia,rubenvb/skia,ench0/external_chromium_org_third_party_skia,todotodoo/skia,PAC-ROM/android_external_skia,Omegaphora/external_chromium_org_third_party_skia,tmpvar/skia.cc,noselhq/skia,BrokenROM/external_skia,DARKPOP/external_chromium_org_third_party_skia,TeamEOS/external_chromium_org_third_party_skia,tmpvar/skia.cc,scroggo/skia,PAC-ROM/android_external_skia,google/skia,TeamTwisted/external_skia,Infinitive-OS/platform_external_skia,HalCanary/skia-hc,aosp-mirror/platform_external_skia,invisiblek/android_external_skia,MIPS/external-chromium_org-third_party-skia,aosp-mirror/platform_external_skia,OneRom/external_skia,todotodoo/skia,ominux/skia,geekboxzone/mmallow_external_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,vanish87/skia,DARKPOP/external_chromium_org_third_party_skia,MyAOSP/external_chromium_org_third_party_skia,AOSPB/external_skia,FusionSP/external_chromium_org_third_party_skia,Infinitive-OS/platform_external_skia,DARKPOP/external_chromium_org_third_party_skia,noselhq/skia,MinimalOS-AOSP/platform_external_skia,rubenvb/skia,aosp-mirror/platform_external_skia,google/skia,boulzordev/android_external_skia,geekboxzone/mmallow_external_skia,MarshedOut/android_external_skia,tmpvar/skia.cc,DiamondLovesYou/skia-sys,Igalia/skia,Hikari-no-Tenshi/android_external_skia,DiamondLovesYou/skia-sys,rubenvb/skia,HalCanary/skia-hc,w3nd1go/android_external_skia,MonkeyZZZZ/platform_external_skia,geekboxzone/mmallow_external_skia,geekboxzone/mmallow_external_skia,tmpvar/skia.cc,MinimalOS-AOSP/platform_external_skia,nfxosp/platform_external_skia,MarshedOut/android_external_skia,TeamExodus/external_skia,Jichao/skia,Jichao/skia,DiamondLovesYou/skia-sys,DARKPOP/external_chromium_org_third_party_skia,ominux/skia,qrealka/skia-hc,Infinitive-OS/platform_external_skia,android-ia/platform_external_chromium_org_third_party_skia,VRToxin-AOSP/android_external_skia,Omegaphora/external_chromium_org_third_party_skia,MyAOSP/external_chromium_org_third_party_skia,Infinitive-OS/platform_external_skia,w3nd1go/android_external_skia,geekboxzone/mmallow_external_skia,amyvmiwei/skia,YUPlayGodDev/platform_external_skia,rubenvb/skia,YUPlayGodDev/platform_external_skia,aosp-mirror/platform_external_skia,AOSP-YU/platform_external_skia,TeamExodus/external_skia,shahrzadmn/skia,UBERMALLOW/external_skia,MIPS/external-chromium_org-third_party-skia,timduru/platform-external-skia,noselhq/skia,scroggo/skia,FusionSP/external_chromium_org_third_party_skia,google/skia,TeamEOS/external_chromium_org_third_party_skia,MIPS/external-chromium_org-third_party-skia,TeamExodus/external_skia,MIPS/external-chromium_org-third_party-skia,pcwalton/skia,Igalia/skia,jtg-gg/skia,MarshedOut/android_external_skia,amyvmiwei/skia,MinimalOS/external_chromium_org_third_party_skia,TeamTwisted/external_skia,timduru/platform-external-skia,UBERMALLOW/external_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,MinimalOS-AOSP/platform_external_skia,spezi77/android_external_skia,TeamTwisted/external_skia,YUPlayGodDev/platform_external_skia,TeamEOS/external_chromium_org_third_party_skia,MinimalOS/external_chromium_org_third_party_skia,vanish87/skia,nfxosp/platform_external_skia,AOSP-YU/platform_external_skia,TeamEOS/external_chromium_org_third_party_skia,rubenvb/skia,MyAOSP/external_chromium_org_third_party_skia,shahrzadmn/skia,AOSPB/external_skia,google/skia,jtg-gg/skia,YUPlayGodDev/platform_external_skia,MyAOSP/external_chromium_org_third_party_skia,boulzordev/android_external_skia,ench0/external_chromium_org_third_party_skia,MIPS/external-chromium_org-third_party-skia,AOSP-YU/platform_external_skia,android-ia/platform_external_chromium_org_third_party_skia,pcwalton/skia,MyAOSP/external_chromium_org_third_party_skia,android-ia/platform_external_chromium_org_third_party_skia,w3nd1go/android_external_skia,DiamondLovesYou/skia-sys,rubenvb/skia,samuelig/skia,BrokenROM/external_skia,MarshedOut/android_external_skia,MarshedOut/android_external_skia,YUPlayGodDev/platform_external_skia,chenlian2015/skia_from_google,tmpvar/skia.cc,AOSP-YU/platform_external_skia,ominux/skia,chenlian2015/skia_from_google,android-ia/platform_external_chromium_org_third_party_skia,YUPlayGodDev/platform_external_skia,DARKPOP/external_chromium_org_third_party_skia,OneRom/external_skia,mydongistiny/external_chromium_org_third_party_skia,invisiblek/android_external_skia,BrokenROM/external_skia,pcwalton/skia,AOSPB/external_skia,nfxosp/platform_external_skia,UBERMALLOW/external_skia,pcwalton/skia,MinimalOS-AOSP/platform_external_skia,samuelig/skia,Fusion-Rom/external_chromium_org_third_party_skia,MarshedOut/android_external_skia,OneRom/external_skia,w3nd1go/android_external_skia,spezi77/android_external_skia,HalCanary/skia-hc,pcwalton/skia,AOSPB/external_skia,Igalia/skia,Hikari-no-Tenshi/android_external_skia,MinimalOS/external_chromium_org_third_party_skia,android-ia/platform_external_chromium_org_third_party_skia,MinimalOS-AOSP/platform_external_skia,amyvmiwei/skia,Omegaphora/external_chromium_org_third_party_skia,Jichao/skia,scroggo/skia,UBERMALLOW/external_skia,jtg-gg/skia,shahrzadmn/skia,samuelig/skia,boulzordev/android_external_skia,samuelig/skia,Fusion-Rom/external_chromium_org_third_party_skia,nfxosp/platform_external_skia,HalCanary/skia-hc,TeamExodus/external_skia,aosp-mirror/platform_external_skia,tmpvar/skia.cc,boulzordev/android_external_skia,MinimalOS/android_external_chromium_org_third_party_skia,OptiPop/external_chromium_org_third_party_skia,nfxosp/platform_external_skia,mydongistiny/external_chromium_org_third_party_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,noselhq/skia,jtg-gg/skia,Infinitive-OS/platform_external_skia,Jichao/skia,todotodoo/skia,MinimalOS/external_chromium_org_third_party_skia,Omegaphora/external_chromium_org_third_party_skia,HalCanary/skia-hc,BrokenROM/external_skia,qrealka/skia-hc,MonkeyZZZZ/platform_external_skia,invisiblek/android_external_skia,TeamTwisted/external_skia,noselhq/skia,Omegaphora/external_chromium_org_third_party_skia,HalCanary/skia-hc,MyAOSP/external_chromium_org_third_party_skia,MonkeyZZZZ/platform_external_skia,PAC-ROM/android_external_skia,DiamondLovesYou/skia-sys,DARKPOP/external_chromium_org_third_party_skia,MyAOSP/external_chromium_org_third_party_skia,todotodoo/skia,HalCanary/skia-hc,MonkeyZZZZ/platform_external_skia,spezi77/android_external_skia,jtg-gg/skia,Fusion-Rom/external_chromium_org_third_party_skia,OneRom/external_skia,YUPlayGodDev/platform_external_skia,PAC-ROM/android_external_skia,qrealka/skia-hc,pcwalton/skia,UBERMALLOW/external_skia,Omegaphora/external_chromium_org_third_party_skia,jtg-gg/skia,chenlian2015/skia_from_google,DARKPOP/external_chromium_org_third_party_skia,google/skia,boulzordev/android_external_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,MinimalOS/android_external_chromium_org_third_party_skia,Infinitive-OS/platform_external_skia,w3nd1go/android_external_skia,Igalia/skia,OneRom/external_skia,TeamEOS/external_chromium_org_third_party_skia,mydongistiny/external_chromium_org_third_party_skia,Jichao/skia,DiamondLovesYou/skia-sys,TeamEOS/external_chromium_org_third_party_skia,YUPlayGodDev/platform_external_skia,scroggo/skia,FusionSP/external_chromium_org_third_party_skia,shahrzadmn/skia,invisiblek/android_external_skia,BrokenROM/external_skia,aosp-mirror/platform_external_skia,Jichao/skia,google/skia,Fusion-Rom/external_chromium_org_third_party_skia,shahrzadmn/skia,nvoron23/skia,UBERMALLOW/external_skia,DiamondLovesYou/skia-sys,Hikari-no-Tenshi/android_external_skia,geekboxzone/mmallow_external_skia,MonkeyZZZZ/platform_external_skia,mydongistiny/external_chromium_org_third_party_skia,FusionSP/external_chromium_org_third_party_skia,boulzordev/android_external_skia,boulzordev/android_external_skia,Hikari-no-Tenshi/android_external_skia,shahrzadmn/skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,ominux/skia,TeamExodus/external_skia,VRToxin-AOSP/android_external_skia,AOSP-YU/platform_external_skia,OneRom/external_skia,shahrzadmn/skia,MIPS/external-chromium_org-third_party-skia,rubenvb/skia,MarshedOut/android_external_skia,todotodoo/skia,geekboxzone/mmallow_external_skia,timduru/platform-external-skia,amyvmiwei/skia,rubenvb/skia,amyvmiwei/skia,boulzordev/android_external_skia,MinimalOS/android_external_chromium_org_third_party_skia,nfxosp/platform_external_skia,todotodoo/skia,nvoron23/skia,qrealka/skia-hc,MIPS/external-chromium_org-third_party-skia,PAC-ROM/android_external_skia,google/skia,pcwalton/skia,chenlian2015/skia_from_google,Fusion-Rom/external_chromium_org_third_party_skia,scroggo/skia,vanish87/skia,shahrzadmn/skia,MinimalOS-AOSP/platform_external_skia,TeamEOS/external_chromium_org_third_party_skia,FusionSP/external_chromium_org_third_party_skia,w3nd1go/android_external_skia,VRToxin-AOSP/android_external_skia,OptiPop/external_chromium_org_third_party_skia,AOSPB/external_skia,scroggo/skia,MIPS/external-chromium_org-third_party-skia,TeamEOS/external_chromium_org_third_party_skia,google/skia,w3nd1go/android_external_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,ench0/external_chromium_org_third_party_skia,OptiPop/external_chromium_org_third_party_skia,chenlian2015/skia_from_google,YUPlayGodDev/platform_external_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,MinimalOS/external_chromium_org_third_party_skia,nfxosp/platform_external_skia,amyvmiwei/skia,aosp-mirror/platform_external_skia,TeamExodus/external_skia,Infinitive-OS/platform_external_skia,nvoron23/skia,Igalia/skia,MinimalOS/external_chromium_org_third_party_skia,nvoron23/skia,VRToxin-AOSP/android_external_skia,ench0/external_chromium_org_third_party_skia,pcwalton/skia,android-ia/platform_external_chromium_org_third_party_skia,timduru/platform-external-skia,TeamTwisted/external_skia,TeamTwisted/external_skia,rubenvb/skia,OptiPop/external_chromium_org_third_party_skia,scroggo/skia,OptiPop/external_chromium_org_third_party_skia,MinimalOS-AOSP/platform_external_skia,BrokenROM/external_skia,chenlian2015/skia_from_google,TeamExodus/external_skia,geekboxzone/mmallow_external_skia,spezi77/android_external_skia