tools: refactor tools/deps_updater
#46488
+100
−55
Merged
tools/deps_updater
#46488