Make a media type deps public to make includes allowed

Since mojo will insert
#include "media/base/ipc/media_param_traits_macros.h"
in code using the media types mojo types, the dependency
on media/base/ipc, where that header lives, need to be

The error reported otherwise (by gn check --check-generated) was:

ERROR at //out/Default/gen/media/mojo/interfaces/ Can't include this header from here.
#include "media/base/ipc/media_param_traits_macros.h"
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):
  //media/mojo/interfaces:test_interfaces -->
  //media/mojo/interfaces:interfaces --[private]-->

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