[fuchsia] Whitelist required Fuchsia services in component manifest.

The application manager will require components to explicitly declare
the services which they depend on in the component manifest.

This CL defines new, more granular "sandbox_policy" files
which specifies the minimal list of required features and services for
each type of package.


Bug: 750938

Change-Id: Iec3b4e5abe96d81a9e4e149a2a1d9e387d55ab42
Reviewed-on: https://chromium-review.googlesource.com/1208444
Reviewed-by: Alex Sakhartchouk <[email protected]>
Reviewed-by: Michael Spang <[email protected]>
Reviewed-by: Sami Kyöstilä <[email protected]>
Reviewed-by: John Budorick <[email protected]>
Reviewed-by: Kevin Marshall <[email protected]>
Reviewed-by: Wez <[email protected]>
Reviewed-by: Scott Graham <[email protected]>
Commit-Queue: Kevin Marshall <[email protected]>
Cr-Commit-Position: refs/heads/master@{#590799}
diff --git a/BUILD.gn b/BUILD.gn
index 8a54f3b7..036f1213 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -752,11 +752,13 @@
   # TODO(https://crbug.com/731217): This can't practically be in //v8 without
   # duplicating all the Fuchsia running infrastructure there.
   fuchsia_package("d8_fuchsia_pkg") {
+    testonly = true
     binary = "//v8:d8"
     package_name_override = "d8"
   }
 
   fuchsia_package_runner("d8_fuchsia") {
+    testonly = true
     package = ":d8_fuchsia_pkg"
     package_name_override = "d8"
   }