#NEWLINE# def generate_java_compile_rule( self , compiler , outfile ) : #NEWLINE# #INDENT# rule = ( 'rule %s_COMPILER\n' % compiler . get_language ( ) ) #NEWLINE# invoc = ' ' . join ( [ ninja_quote ( i ) for i in compiler . get_exelist ( ) ] ) #NEWLINE# command = ( ' command = %s $ARGS $in\n' % invoc ) #NEWLINE# description = ' description = Compiling Java object $in.\n' #NEWLINE# outfile . write ( rule ) #NEWLINE# outfile . write ( command ) #NEWLINE# outfile . write ( description ) #NEWLINE# outfile . write ( '\n' )