#NEWLINE# def get_generated_headers( self , target ) : #NEWLINE# #INDENT# header_deps = [ ] #NEWLINE# for gensource in target . get_generated_sources ( ) : #NEWLINE# #INDENT# if isinstance ( gensource , build . CustomTarget ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# for src in gensource . get_outfilelist ( ) : #NEWLINE# #INDENT# if self . environment . is_header ( src ) : #NEWLINE# #INDENT# header_deps . append ( os . path . join ( self . get_target_private_dir ( target ) , src ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# for dep in target . link_targets : #NEWLINE# #INDENT# if isinstance ( dep , ( build . StaticLibrary , build . SharedLibrary ) ) : #NEWLINE# #INDENT# header_deps += self . get_generated_headers ( dep ) #NEWLINE# #UNINDENT# #UNINDENT# return header_deps