From 5fb831b356dc53ca9862b3b1a3f56b32db693bab Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Thu, 26 Jul 2018 19:04:07 +0100 Subject: Allow scons2ninja to work with check=1 Test-Information: Ran ./BuildTools/scons2ninja.py check=1 build_examples=0, and it generated a script that builds and runs the checker, and that makes ninja -t compdb cxx spit out things suitable for compile_commands.json Change-Id: I9b92557f35c8230cc59a32580546a520e5684cab diff --git a/BuildTools/scons2ninja.py b/BuildTools/scons2ninja.py index 1089537..df4c655 100755 --- a/BuildTools/scons2ninja.py +++ b/BuildTools/scons2ninja.py @@ -593,6 +593,8 @@ for line in build_lines : basename = basename, outdir = outdir) + elif tool == 'checker': + pass elif not ninja_custom_command(ninja, line) : raise Exception("Unknown tool: '" + line + "'") -- cgit v0.10.2-6-g49f6