#NEWLINE# def determine_dep_vapis( self , target ) : #NEWLINE# #INDENT# result = [ ] #NEWLINE# for dep in target . link_targets : #NEWLINE# #INDENT# for i in dep . sources : #NEWLINE# #INDENT# if hasattr ( i , 'fname' ) : #NEWLINE# #INDENT# i = i . fname #NEWLINE# #UNINDENT# if i . endswith ( 'vala' ) : #NEWLINE# #INDENT# vapiname = ( os . path . splitext ( os . path . split ( i ) [ 1 ] ) [ 0 ] + '.vapi' ) #NEWLINE# fullname = os . path . join ( self . get_target_dir ( dep ) , vapiname ) #NEWLINE# result . append ( i ) #NEWLINE# break #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return result