Fix net's build deps so that protos can use net_export.h

proto targets use net_export.h without depending on the target where
that header lives. That made gn check --check-generated report errors
like this one:
ERROR at //out/Default/gen/net/nqe/proto/network_id_proto.pb.h:33:11: Include not allowed.
#include "net/base/net_export.h"
It is not in any dependency of
The include file is in the target(s):
which should somehow be reachable.

This fixes that problem by moving net_export.h to a separate
build target that other targets can depend on.

Bug: 655123
Change-Id: If7953e007f500adae4fe10b78e86f1a4afaecf17
Commit-Queue: Daniel Bratell <>
Reviewed-by: Matt Menke <>
Cr-Commit-Position: refs/heads/master@{#644359}
1 file changed