DescriptionUse depfiles for mojom generation.
Currently, if foo.mojom imports bar.mojom and bar.mojom changes,
foo.mojom will not be regenerated. If the change to bar.mojom changes
which traits headers should be included by foo.mojom.cc by adding or
removing a typemapped type, this can cause compile failures. This CL
fixes this by generating a depfile for each mojom generation step so
changing any mojoms imported by a particular mojom cause the bindings
for that mojom to be regenerated.
BUG=652404
Review-Url: https://codereview.chromium.org/2747653002
Cr-Commit-Position: refs/heads/master@{#456513}
Committed: https://chromium.googlesource.com/chromium/src/+/8e4878fdb12d295c90bbfe58adf3d87016561695
Patch Set 1 #
Messages
Total messages: 16 (12 generated)
|