|
|
Created:
4 years, 5 months ago by Mostyn Bramley-Moore Modified:
4 years, 5 months ago CC:
chromium-reviews Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
Descriptiongyp: url_mojom should be a hard_dependency
The url/url.gyp:url_mojom target depends on url_interfaces_mojom,
which generates header files, and sets itself as a
hard_dependency. Thhat hard_dependency status is not propagated
to url_mojom. Let's add it explicitly.
Committed: https://crrev.com/9769d7ca93be00c5a0891ef01e07c7afbafa55d8
Cr-Commit-Position: refs/heads/master@{#405794}
Patch Set 1 #
Total comments: 2
Patch Set 2 : adjust comment #Messages
Total messages: 20 (12 generated)
mostynb@opera.com changed reviewers: + brettw@chromium.org, mek@chromium.org
@brettw: I am trying to fix some gyp build flakiness after CL2004643002 landed- can you confirm my diagnosis of the cause? The symptom is that when compiling gen/components/webmessaging/public/interfaces/broadcast_channel.mojom-blink.cc, broadcast_channel.mojom-blink-internal.h includes url/mojo/origin.mojom-blink-internal.h which does not (yet) exist. @mek: FYI.
The CQ bit was checked by mostynb@opera.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Actually, it seems that this problem only occurs with https://codereview.chromium.org/2136523002/ applied, and it doesn't look like that will land. But perhaps this is still valid fix?
Description was changed from ========== fix gyp build flakiness in components/webmessaging The webmessaging_mojo_bindings_for_blink target depends on url/url.gyp:url_mojom which in turn depends on url_interfaces_mojom. url_interfaces_mojom generates header files, and sets itself as a hard_dependency, but it seems that this hard_dependency status is not propagated to url_mojom. Let's add it explicitly. BUG=161070 ========== to ========== gyp: url_mojom should be a hard_dependency The url/url.gyp:url_mojom target depends on url_interfaces_mojom, which generates header files, and sets itself as a hard_dependency, but it seems that this hard_dependency status is not propagated to url_mojom. Let's add it explicitly. ==========
Description was changed from ========== gyp: url_mojom should be a hard_dependency The url/url.gyp:url_mojom target depends on url_interfaces_mojom, which generates header files, and sets itself as a hard_dependency, but it seems that this hard_dependency status is not propagated to url_mojom. Let's add it explicitly. ========== to ========== gyp: url_mojom should be a hard_dependency The url/url.gyp:url_mojom target depends on url_interfaces_mojom, which generates header files, and sets itself as a hard_dependency, but it seems that this hard_dependency status is not propagated to url_mojom. Let's add it explicitly. ==========
On 2016/07/15 12:06:08, Mostyn Bramley-Moore wrote: > Actually, it seems that this problem only occurs with > https://codereview.chromium.org/2136523002/ applied, and it doesn't look like > that will land. But perhaps this is still valid fix? I am getting the error about this missing header file just using automate-git.py building from the master.
lgtm https://codereview.chromium.org/2153093002/diff/1/url/url.gyp File url/url.gyp (right): https://codereview.chromium.org/2153093002/diff/1/url/url.gyp#newcode144 url/url.gyp:144: # It seems that this hard dependency status is not propagated to Just remove "it seems" because GYP does indeed not automaticall propagate hard dependency flags.
Description was changed from ========== gyp: url_mojom should be a hard_dependency The url/url.gyp:url_mojom target depends on url_interfaces_mojom, which generates header files, and sets itself as a hard_dependency, but it seems that this hard_dependency status is not propagated to url_mojom. Let's add it explicitly. ========== to ========== gyp: url_mojom should be a hard_dependency The url/url.gyp:url_mojom target depends on url_interfaces_mojom, which generates header files, and sets itself as a hard_dependency. Thhat hard_dependency status is not propagated to url_mojom. Let's add it explicitly. ==========
https://codereview.chromium.org/2153093002/diff/1/url/url.gyp File url/url.gyp (right): https://codereview.chromium.org/2153093002/diff/1/url/url.gyp#newcode144 url/url.gyp:144: # It seems that this hard dependency status is not propagated to On 2016/07/15 17:03:40, brettw (ping after 24h) wrote: > Just remove "it seems" because GYP does indeed not automaticall propagate hard > dependency flags. Done.
The CQ bit was checked by mostynb@opera.com
The patchset sent to the CQ was uploaded after l-g-t-m from brettw@chromium.org Link to the patchset: https://codereview.chromium.org/2153093002/#ps20001 (title: "adjust comment")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== gyp: url_mojom should be a hard_dependency The url/url.gyp:url_mojom target depends on url_interfaces_mojom, which generates header files, and sets itself as a hard_dependency. Thhat hard_dependency status is not propagated to url_mojom. Let's add it explicitly. ========== to ========== gyp: url_mojom should be a hard_dependency The url/url.gyp:url_mojom target depends on url_interfaces_mojom, which generates header files, and sets itself as a hard_dependency. Thhat hard_dependency status is not propagated to url_mojom. Let's add it explicitly. ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== gyp: url_mojom should be a hard_dependency The url/url.gyp:url_mojom target depends on url_interfaces_mojom, which generates header files, and sets itself as a hard_dependency. Thhat hard_dependency status is not propagated to url_mojom. Let's add it explicitly. ========== to ========== gyp: url_mojom should be a hard_dependency The url/url.gyp:url_mojom target depends on url_interfaces_mojom, which generates header files, and sets itself as a hard_dependency. Thhat hard_dependency status is not propagated to url_mojom. Let's add it explicitly. Committed: https://crrev.com/9769d7ca93be00c5a0891ef01e07c7afbafa55d8 Cr-Commit-Position: refs/heads/master@{#405794} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/9769d7ca93be00c5a0891ef01e07c7afbafa55d8 Cr-Commit-Position: refs/heads/master@{#405794} |