Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(2)

Issue 2747653002: Use depfiles for mojom generation. (Closed)

Created:
8 months, 2 weeks ago by Sam McNally
Modified:
8 months, 2 weeks ago
Reviewers:
yzshen1
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use 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)
Sam McNally
8 months, 2 weeks ago (2017-03-13 05:58:19 UTC) #4
yzshen1
lgtm
8 months, 2 weeks ago (2017-03-13 17:01:38 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2747653002/1
8 months, 2 weeks ago (2017-03-13 22:34:11 UTC) #13
commit-bot: I haz the power
8 months, 2 weeks ago (2017-03-13 22:46:11 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/8e4878fdb12d295c90bbfe58adf3...

Powered by Google App Engine
This is Rietveld efc10ee0f