Commit ca0d137
build: gate Cocoa bindings regeneration on a stamp file (#5598)
The generated files were the target's Outputs, but Objective Sharpie writes
ApiDefinition.cs before patch-cocoa-bindings.cs makes it valid C#. A
parallel build sampling the timestamps in between skipped generation and
compiled the unpatched output.
Gate the check on a stamp touched once generation and patching are both
done, so a late instance blocks on the in-flight TargetFramework=once
request. The generated files stay in Outputs so a deleted one still forces
regeneration.
Latent until #5594 removed a non-existent glob input that had been forcing
the target to run every time.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 7776365 commit ca0d137
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
103 | | - | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
| |||
0 commit comments