ebuild: allow RESTRICT=network-sandbox in ebuilds

Some ebuilds are a bit hard to fix their use of the network in src
phases, so allow them to disable things.  This allows us to turn off
access by default and for the vast majority while we work out how to
fix the few broken packages.

Hopefully we can back this out once all the ebuilds have been updated.

BUG=chromium:731905
TEST=building an ebuild with RESTRICT=network-sandbox allows network access still

Change-Id: Ibc0430a990b0f6dc728967f3a3414d28263bf397
Reviewed-on: https://chromium-review.googlesource.com/538235
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
1 file changed