diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-05-28 23:09:59 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-05-28 23:09:59 +0300 |
commit | c2082146abd400f8b3f8841acbf2fd324d6cb43a (patch) | |
tree | f826e6226e626ed19b70f431c4b0ed4d915b5804 /mesonbuild/backend/ninjabackend.py | |
parent | aac7f6ef1f1c1b5e8e1a296181f76eff203ef284 (diff) | |
parent | a29d9c2c332bcf6147a6a87eeab408bc43fcd30b (diff) | |
download | meson-c2082146abd400f8b3f8841acbf2fd324d6cb43a.zip meson-c2082146abd400f8b3f8841acbf2fd324d6cb43a.tar.gz meson-c2082146abd400f8b3f8841acbf2fd324d6cb43a.tar.bz2 |
Merge branch 'nioncode-vs-generator'
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
-rw-r--r-- | mesonbuild/backend/ninjabackend.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index 05702fd..3bec19d 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -1286,19 +1286,6 @@ rule FORTRAN_DEP_HACK self.generate_pch_rule_for(langname, compiler, qstr, True, outfile) outfile.write('\n') - def replace_outputs(self, args, private_dir, output_list): - newargs = [] - regex = re.compile('@OUTPUT(\d+)@') - for arg in args: - m = regex.search(arg) - while m is not None: - index = int(m.group(1)) - src = '@OUTPUT%d@' % index - arg = arg.replace(src, os.path.join(private_dir, output_list[index])) - m = regex.search(arg) - newargs.append(arg) - return newargs - def generate_custom_generator_rules(self, target, outfile): for genlist in target.get_generated_sources(): if isinstance(genlist, build.CustomTarget): |