From c9cb49764bfb16a66b684803a06cba8d8c31fe9d Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Mon, 27 May 2013 01:20:54 +0300 Subject: Worked on expanding the generator so it works with protocol buffers. Does not work yet. --- backends.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'backends.py') diff --git a/backends.py b/backends.py index 1abfdc2..56f0a93 100755 --- a/backends.py +++ b/backends.py @@ -535,6 +535,8 @@ class NinjaBackend(Backend): outfilename = os.path.join(self.get_target_private_dir(target), outfilelist[i]) args = [x.replace("@INPUT@", infilename).replace('@OUTPUT@', outfilename)\ for x in base_args] + args = [x.replace("@SOURCE_DIR@", self.environment.get_source_dir()).replace("@BUILD_DIR@", self.environment.get_build_dir()) + for x in args] cmdlist = [exe_file] + args elem = NinjaBuildElement(outfilename, 'CUSTOM_COMMAND', infilename) elem.add_item('DESC', 'Generating $out') -- cgit v1.1