Commit 622ab61
committed
refactor(build): include-dir[-after] directives converge on the typed #249 channel
Review pass over the merged P0+P1 branch. Two spellings of the same
decision survived the parallel tracks:
- dep loop: after-dirs were spelled as raw private '-idirafter <dir>'
flag pairs (written before #249 landed privateBuild.includeDirsAfter);
the raw spelling bypasses the typed channel's per-dialect degradations
(cl.exe /I, NASM -I). Now appendUniquePath into the typed slot.
- root: after-dirs reached only the fingerprint mirror
(manifest.buildConfig), never privateBuild — scanned units read
privateBuild.includeDirsAfter, so 'mcpp:include-dir-after=' on the
root was inert on compile edges. Both channels now mirrored for both
kinds, matching the flag mirrors above.
e2e 144 upgraded from 'directive accepted' to asserting -idirafter
reaches build.ninja.1 parent f0d2f19 commit 622ab61
2 files changed
Lines changed: 27 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3086 | 3086 | | |
3087 | 3087 | | |
3088 | 3088 | | |
3089 | | - | |
3090 | | - | |
3091 | | - | |
3092 | | - | |
| 3089 | + | |
| 3090 | + | |
| 3091 | + | |
| 3092 | + | |
3093 | 3093 | | |
3094 | | - | |
3095 | | - | |
3096 | | - | |
3097 | | - | |
3098 | | - | |
3099 | | - | |
3100 | | - | |
| 3094 | + | |
| 3095 | + | |
3101 | 3096 | | |
3102 | 3097 | | |
3103 | 3098 | | |
| |||
3243 | 3238 | | |
3244 | 3239 | | |
3245 | 3240 | | |
3246 | | - | |
3247 | | - | |
| 3241 | + | |
| 3242 | + | |
| 3243 | + | |
| 3244 | + | |
| 3245 | + | |
3248 | 3246 | | |
3249 | 3247 | | |
3250 | 3248 | | |
| 3249 | + | |
| 3250 | + | |
| 3251 | + | |
| 3252 | + | |
| 3253 | + | |
| 3254 | + | |
3251 | 3255 | | |
3252 | 3256 | | |
3253 | 3257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
67 | 74 | | |
68 | 75 | | |
69 | 76 | | |
| |||
0 commit comments