Fixing build dependency for the MailboxHolder type

MailboxHolder uses and exposes
gpu/ipc/common/mailbox_holder_struct_traits.h so it needs to
be a public dependency (as it already is in

One example of many resulting dependency errors:

ERROR at //out/Default/gen/device/vr/public/mojom/ Can't include this header from here.
The target:
is including a file from the target:

It's usually best to depend directly on the destination target.
In some cases, the destination target is considered a subcomponent
of an intermediate target. In this case, the intermediate target
should depend publicly on the destination to forward the ability
to include headers.

Dependency chain (there may also be others):
  //device/vr/public/mojom:mojom -->
  //gpu/ipc/common:interfaces --[private]-->

Bug: 938893
Change-Id: I598db331d43cff5212d7d739da96e0648552b7a1
Reviewed-by: Daniel Cheng <>
Commit-Queue: Daniel Bratell <>
Cr-Commit-Position: refs/heads/master@{#644424}
1 file changed