Skip to content

Commit 57157f6

Browse files
authored
Merge pull request ninja-build#2754 from bradking/doc-dyndep
Document more precisely how a dyndep file may affect the build graph
2 parents a37b2ce + 1cda427 commit 57157f6

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

doc/manual.asciidoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,6 +1259,16 @@ implicit inputs and/or outputs. Ninja will update the build graph
12591259
accordingly and the build will proceed as if the information was known
12601260
originally.
12611261

1262+
A dyndep file may only affect dependent portions of the build graph,
1263+
i.e., the set of build statements that specify the file as a `dyndep`
1264+
binding, or build statements known by the _original_ build manifest
1265+
to depend directly or indirectly on at least one member of that set.
1266+
In particular, dynamically discovered outputs of a build statement
1267+
may not correspond to inputs of build statements that were originally
1268+
independent of the dyndep file. In other words, a dyndep file may
1269+
not change the build graph in a way that causes up-to-date build
1270+
statements to become out-of-date.
1271+
12621272
Dyndep file reference
12631273
~~~~~~~~~~~~~~~~~~~~~
12641274

0 commit comments

Comments
 (0)