Correct builds deps for the mojo types in services/network

Some types in services/network causes generated code elsewhere to
include a file in services/network/public/cpp:cpp_base. To make
this permissible by gn check --check-generated, make the deps
to services/network/public/cpp:cpp_base a public dep.

An example of the kind of error this fixes:

ERROR at //out/Default/gen/services/content/public/mojom/ Can't include this header from here.
#include "services/network/public/cpp/net_ipc_param_traits.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):
  //services/content/public/mojom:mojom -->
  //services/network/public/mojom:websocket_mojom --[private]-->

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