Developer reports

Ninja depfile input comparison

Compare parsed prerequisite names with an explicit reference list.

Your inputs

Start with an example

Your inputs stay in your browser.

Your result

Example result

How it works

Apply the Ninja 1.13.1 emitted-input lexer, preserving ordered unique outputs and prerequisites. Compare exact names with the supplied reference set. Multiple rules remain a flat native parser result, not an inferred dependency graph.

Escaped spaces and hashes stay inside filenames; $$ becomes one dollar. Two inputs are common, two are observed-only and unused.h is reference-only. Those differences do not establish a build error.

Limits

Up to 1 MB of UTF-8 depfile text, 20000 reference paths, 50000 tokens, 25000 unique paths and a 2 MB report. Textareas normalize line endings; local files reject bare CR. Compiler-emitted escapes only; unescaped #, unpaired $, unsupported punctuation and a terminal single backslash reject. Quotes remain literal. No Make evaluation, build.ninja parsing, filesystem normalization/existence or rebuild verdict.