#NEWLINE# def _GetDeps( self , dependencies ) : #NEWLINE# #INDENT# 'Recursively finds dependencies for file protos.\n\n    Args:\n      dependencies: The names of the files being depended on.\n\n    Yields:\n      Each direct and indirect dependency.\n    ' #NEWLINE# for dependency in dependencies : #NEWLINE# #INDENT# dep_desc = self . FindFileByName ( dependency ) #NEWLINE# ( yield dep_desc ) #NEWLINE# for parent_dep in dep_desc . dependencies : #NEWLINE# #INDENT# ( yield parent_dep )