Skip to content

Commit

Permalink
Always generate Java rule, it is platform agnostic.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpakkane committed Aug 11, 2021
1 parent 0b97d58 commit f9d9cb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mesonbuild/backend/ninjabackend.py
Original file line number Diff line number Diff line change
Expand Up @@ -2066,8 +2066,7 @@ def generate_llvm_ir_compile_rule(self, compiler):

def generate_compile_rule_for(self, langname, compiler):
if langname == 'java':
if self.environment.machines.matches_build_machine(compiler.for_machine):
self.generate_java_compile_rule(compiler)
self.generate_java_compile_rule(compiler)
return
if langname == 'cs':
if self.environment.machines.matches_build_machine(compiler.for_machine):
Expand Down

0 comments on commit f9d9cb1

Please sign in to comment.