|
|
@ -643,8 +643,7 @@ class NinjaBackend(backends.Backend): |
|
|
|
rel_src = src.rel_to_builddir(self.build_to_src) |
|
|
|
rel_src = src.rel_to_builddir(self.build_to_src) |
|
|
|
plain_class_path = src.fname[:-4] + 'class' |
|
|
|
plain_class_path = src.fname[:-4] + 'class' |
|
|
|
rel_obj = os.path.join(self.get_target_private_dir(target), plain_class_path) |
|
|
|
rel_obj = os.path.join(self.get_target_private_dir(target), plain_class_path) |
|
|
|
element = NinjaBuildElement(rel_obj, |
|
|
|
element = NinjaBuildElement(rel_obj, compiler.get_language() + '_COMPILER', rel_src) |
|
|
|
compiler.get_language() + '_COMPILER', rel_src) |
|
|
|
|
|
|
|
element.add_item('ARGS', args) |
|
|
|
element.add_item('ARGS', args) |
|
|
|
element.write(outfile) |
|
|
|
element.write(outfile) |
|
|
|
return plain_class_path |
|
|
|
return plain_class_path |
|
|
|