| // Copyright 2021 The Fuchsia Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| // Realm that acts as a container for general system components. | |
| { | |
| include: [ | |
| "inspect/offer.shard.cml", | |
| "syslog/offer.shard.cml", | |
| ], | |
| children: [ | |
| { | |
| name: "sl4f_bridge_server", | |
| url: "fuchsia-pkg://fuchsia.com/sl4f-ffx-proxy-server#meta/sl4f_proxy_server.cm", | |
| environment: "#core-env", | |
| }, | |
| // TODO(https://fxbug.dev/42074694) Remove comment when this transformation is complete. | |
| // This is the future home of system update-related components. | |
| { | |
| name: "system-update", | |
| url: "fuchsia-pkg://fuchsia.com/system-update-realm#meta/system-update-realm.cm", | |
| startup: "eager", | |
| }, | |
| { | |
| name: "mdns", | |
| url: "fuchsia-pkg://fuchsia.com/mdns#meta/mdns.cm", | |
| // TODO(https://fxbug.dev/42175335): consider removing eager startup in non-eng builds. | |
| startup: "eager", | |
| }, | |
| { | |
| name: "cobalt_system_metrics", | |
| url: "fuchsia-pkg://fuchsia.com/cobalt_system_metrics#meta/cobalt_system_metrics.cm", | |
| startup: "eager", | |
| }, | |
| { | |
| name: "timekeeper", | |
| url: "fuchsia-pkg://fuchsia.com/timekeeper#meta/timekeeper.cm", | |
| startup: "eager", | |
| }, | |
| // Children below this line may be present on some but not all product configurations. | |
| // Children above this line are expected to be present on all configs that include | |
| // core.cml. | |
| // | |
| // TODO(https://fxbug.dev/42161411): If any of the components below are product-specific, move them | |
| // to core realm shards. | |
| { | |
| name: "activity", | |
| url: "fuchsia-pkg://fuchsia.com/activity#meta/activity.cm", | |
| }, | |
| { | |
| name: "cobalt", | |
| url: "fuchsia-pkg://fuchsia.com/cobalt#meta/cobalt.cm", | |
| }, | |
| // TODO(https://fxbug.dev/294908023) move to the relevant core shard | |
| { | |
| name: "starnix_runner", | |
| url: "fuchsia-pkg://fuchsia.com/starnix#meta/starnix_runner.cm", | |
| environment: "#core-env", | |
| }, | |
| { | |
| name: "stash", | |
| url: "fuchsia-pkg://fuchsia.com/stash#meta/stash.cm", | |
| }, | |
| { | |
| name: "stash2", | |
| url: "fuchsia-pkg://fuchsia.com/stash#meta/stash2.cm", | |
| }, | |
| { | |
| name: "stash_secure", | |
| url: "fuchsia-pkg://fuchsia.com/stash#meta/stash_secure.cm", | |
| }, | |
| { | |
| name: "regulatory_region", | |
| url: "fuchsia-pkg://fuchsia.com/regulatory_region#meta/regulatory_region.cm", | |
| }, | |
| { | |
| name: "font_provider", | |
| url: "fuchsia-pkg://fuchsia.com/fonts#meta/fonts.cm", | |
| }, | |
| { | |
| name: "pkg-resolver", | |
| url: "fuchsia-pkg://fuchsia.com/pkg-resolver#meta/pkg-resolver.cm", | |
| }, | |
| { | |
| name: "vulkan_loader", | |
| url: "fuchsia-pkg://fuchsia.com/vulkan_loader#meta/vulkan_loader.cm", | |
| environment: "#core-env", | |
| }, | |
| { | |
| name: "network", | |
| url: "fuchsia-pkg://fuchsia.com/network#meta/network.cm", | |
| startup: "eager", | |
| }, | |
| { | |
| name: "hwinfo", | |
| url: "fuchsia-pkg://fuchsia.com/hwinfo#meta/hwinfo.cm", | |
| }, | |
| { | |
| name: "agis", | |
| url: "fuchsia-pkg://fuchsia.com/agis#meta/agis.cm", | |
| environment: "#core-env", | |
| }, | |
| ], // children | |
| capabilities: [ | |
| // Note: `data`, `cache`, and `temp` storage capabilities are defined in a shard and | |
| // included as part of the build process. See restricted-storage.core_shard.cml or | |
| // unrestricted-storage.core_shard.cml | |
| ], | |
| offer: [ | |
| { | |
| config: [ | |
| "fuchsia.pkgresolver.BlobDownloadConcurrencyLimit", | |
| "fuchsia.pkgresolver.BlobDownloadResumptionAttemptsLimit", | |
| "fuchsia.pkgresolver.BlobNetworkBodyTimeoutSeconds", | |
| "fuchsia.pkgresolver.BlobNetworkHeaderTimeoutSeconds", | |
| "fuchsia.pkgresolver.DeliveryBlobType", | |
| "fuchsia.pkgresolver.TufMetadataTimeoutSeconds", | |
| "fuchsia.pkgresolver.TufNetworkHeaderTimeoutSeconds", | |
| ], | |
| from: "void", | |
| to: "#pkg-resolver", | |
| availability: "optional", | |
| }, | |
| { | |
| config: [ | |
| "fuchsia.fonts.FontManifest", | |
| "fuchsia.fonts.VerboseLogging", | |
| ], | |
| from: "parent", | |
| to: [ "#font_provider" ], | |
| }, | |
| { | |
| config: "fuchsia.power.SuspendEnabled", | |
| from: "parent", | |
| to: "#exceptions", | |
| }, | |
| { | |
| protocol: [ "fuchsia.metrics.MetricEventLoggerFactory" ], | |
| from: "#cobalt", | |
| to: "#network", | |
| dependency: "weak", | |
| }, | |
| { | |
| config: [ | |
| "fuchsia.http-client.StopOnIdleTimeoutMillis", | |
| "fuchsia.http-client.TcpReceiveBufferSizeBytes", | |
| ], | |
| from: "parent", | |
| to: "#network", | |
| availability: "same_as_target", | |
| }, | |
| { | |
| config: "fuchsia.connectivity.RedactNetworkIdentifiers", | |
| from: "parent", | |
| to: "#network", | |
| availability: "same_as_target", | |
| }, | |
| { | |
| dictionary: "netstack3-config", | |
| from: "parent", | |
| to: "#network", | |
| availability: "same_as_target", | |
| }, | |
| { | |
| protocol: "fuchsia.ui.activity.control.Control", | |
| from: "#activity", | |
| to: "self/toolbox", | |
| target_availability: "unknown", | |
| }, | |
| { | |
| protocol: [ "fuchsia.ui.activity.Provider" ], | |
| from: "#activity", | |
| to: [ "#cobalt_system_metrics" ], | |
| }, | |
| { | |
| protocol: [ "fuchsia.ui.activity.Provider" ], | |
| from: "#activity", | |
| to: "self/toolbox", | |
| target_availability: "unknown", | |
| }, | |
| { | |
| protocol: [ "fuchsia.metrics.MetricEventLoggerFactory" ], | |
| from: "#cobalt", | |
| to: "self/toolbox", | |
| target_availability: "unknown", | |
| }, | |
| { | |
| protocol: "fuchsia.pkg.FontResolver", | |
| from: "void", | |
| to: "#font_provider", | |
| availability: "optional", | |
| }, | |
| { | |
| protocol: [ "fuchsia.device.NameProvider" ], | |
| from: "parent", | |
| to: [ | |
| "#agis", | |
| "#mdns", | |
| "#network", | |
| ], | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.scheduler.deprecated.ProfileProvider", | |
| "fuchsia.scheduler.RoleManager", | |
| ], | |
| from: "parent", | |
| to: [ "#network" ], | |
| }, | |
| { | |
| protocol: "fuchsia.net.http.GoogleLoader", | |
| from: "#network", | |
| as: "fuchsia.net.http.Loader", | |
| to: "#cobalt", | |
| }, | |
| { | |
| protocol: "fuchsia.net.http.Loader", | |
| from: "#network", | |
| to: "self/toolbox", | |
| target_availability: "unknown", | |
| }, | |
| { | |
| protocol: [ "fuchsia.net.interfaces.State" ], | |
| from: "#network", | |
| to: [ | |
| "#mdns", | |
| "#timekeeper", | |
| ], | |
| }, | |
| { | |
| protocol: [ "fuchsia.fonts.Provider" ], | |
| from: "#font_provider", | |
| to: "self/toolbox", | |
| target_availability: "unknown", | |
| }, | |
| { | |
| // `#timekeeper` uses connectivity monitoring to know whether to | |
| // issue outbound HTTPS requests for talking to external time | |
| // sources (requires assembly config setting: | |
| // `platform.timekeeper.use_connectivity = true`). | |
| protocol: [ "fuchsia.net.reachability.Monitor" ], | |
| from: "#network", | |
| to: [ | |
| "#cobalt", | |
| "#timekeeper", | |
| ], | |
| availability: "optional", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.net.name.Lookup", | |
| "fuchsia.posix.socket.Provider", | |
| ], | |
| from: "#network", | |
| to: [ | |
| "#cobalt", | |
| "#mdns", | |
| "#timekeeper", | |
| ], | |
| }, | |
| { | |
| // TODO(https://fxbug.dev/534733256): Merge a dictionary containing | |
| // these protocols into toolbox instead. | |
| protocol: [ | |
| "fuchsia.net.debug.PacketCaptureProvider", | |
| "fuchsia.net.interfaces.admin.Installer", | |
| "fuchsia.net.interfaces.State", | |
| "fuchsia.net.name.Lookup", | |
| "fuchsia.net.routes.State", | |
| "fuchsia.net.stack.Stack", | |
| "fuchsia.posix.socket.Provider", | |
| ], | |
| from: "#network", | |
| to: "self/toolbox", | |
| target_availability: "unknown", | |
| }, | |
| { | |
| protocol: [ "fuchsia.net.virtualization.Control" ], | |
| from: "#network", | |
| to: "self/toolbox", | |
| availability: "optional", | |
| target_availability: "unknown", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.net.mdns.HostNameResolver", | |
| "fuchsia.net.mdns.HostNameSubscriber", | |
| "fuchsia.net.mdns.ProxyHostPublisher", | |
| "fuchsia.net.mdns.Publisher", | |
| "fuchsia.net.mdns.Resolver", | |
| "fuchsia.net.mdns.ServiceInstancePublisher", | |
| "fuchsia.net.mdns.ServiceInstanceResolver", | |
| "fuchsia.net.mdns.ServiceSubscriber2", | |
| "fuchsia.net.mdns.Subscriber", | |
| ], | |
| from: "#mdns", | |
| to: "self/toolbox", | |
| target_availability: "unknown", | |
| }, | |
| { | |
| protocol: [ "fuchsia.posix.socket.Provider" ], | |
| from: "#network", | |
| to: [ "#agis" ], | |
| }, | |
| { | |
| protocol: [ "fuchsia.posix.socket.Provider" ], | |
| from: "#network", | |
| to: [ "#sl4f_bridge_server" ], | |
| }, | |
| { | |
| protocol: "fuchsia.stash.SecureStore", | |
| from: "#stash_secure", | |
| to: [ "#network" ], | |
| }, | |
| { | |
| protocol: "fuchsia.stash.SecureStore", | |
| from: "#stash_secure", | |
| to: "self/toolbox", | |
| target_availability: "unknown", | |
| }, | |
| { | |
| directory: "config-data", | |
| from: "parent", | |
| to: [ "#network" ], | |
| }, | |
| { | |
| // TODO(https://fxbug.dev/324273348): Remove this capability once the clients have | |
| // been migrated to services. The service capability has been added below. | |
| directory: "dev-class", | |
| from: "parent", | |
| as: "dev-class-network", | |
| to: [ "#network" ], | |
| subdir: "network", | |
| }, | |
| { | |
| // This service replaces the directory capability above. | |
| service: "fuchsia.hardware.network.Service", | |
| from: "parent", | |
| to: [ "#network" ], | |
| }, | |
| { | |
| storage: "cache", | |
| from: "self", | |
| to: [ "#network" ], | |
| }, | |
| { | |
| storage: "data", | |
| from: "self", | |
| to: [ "#network" ], | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.power.broker.Topology", | |
| "fuchsia.power.system.ActivityGovernor", | |
| ], | |
| from: "parent", | |
| to: "#network", | |
| availability: "same_as_target", | |
| }, | |
| { | |
| protocol: "fuchsia.time.alarms.WakeAlarms", | |
| from: "#timekeeper", | |
| to: "#network", | |
| // Weak offer to break the dependency cycle with #network -> #timekeeper. | |
| dependency: "weak", | |
| availability: "optional", | |
| }, | |
| { | |
| config: "fuchsia.power.SuspendEnabled", | |
| from: "parent", | |
| to: "#network", | |
| }, | |
| { | |
| protocol: [ "fuchsia.power.internal.CollaborativeRebootScheduler" ], | |
| from: "parent", | |
| to: "#network", | |
| }, | |
| { | |
| protocol: [ "fuchsia.pkg.PackageCache" ], | |
| from: "parent", | |
| to: "#pkg-resolver", | |
| }, | |
| { | |
| storage: "data", | |
| from: "self", | |
| to: "#pkg-resolver", | |
| }, | |
| { | |
| directory: "config-data", | |
| from: "parent", | |
| to: "#pkg-resolver", | |
| subdir: "pkg-resolver", | |
| }, | |
| { | |
| protocol: [ | |
| // TODO(https://fxbug.dev/389134835): Remove the initiator | |
| // capability. | |
| "fuchsia.power.CollaborativeRebootInitiator", | |
| "fuchsia.power.internal.CollaborativeRebootScheduler", | |
| "fuchsia.update.verify.HealthVerification", | |
| ], | |
| from: "parent", | |
| to: "#system-update", | |
| }, | |
| { | |
| protocol: "fuchsia.paver.Paver", | |
| from: "#paver", | |
| to: "#system-update", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.sysmem.Allocator", | |
| "fuchsia.sysmem2.Allocator", | |
| ], | |
| from: "parent", | |
| to: [ "#agis" ], | |
| }, | |
| { | |
| protocol: "fuchsia.factory.MiscFactoryStoreProvider", | |
| from: "#factory_store_providers", | |
| to: "#hwinfo", | |
| source_availability: "unknown", | |
| }, | |
| { | |
| directory: "config-data", | |
| from: "parent", | |
| to: "#hwinfo", | |
| subdir: "hwinfo", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.hwinfo.Board", | |
| "fuchsia.hwinfo.Product", | |
| ], | |
| from: "#hwinfo", | |
| to: "#agis", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.hwinfo.Board", | |
| "fuchsia.hwinfo.Device", | |
| "fuchsia.hwinfo.Product", | |
| ], | |
| from: "#hwinfo", | |
| to: "self/toolbox", | |
| target_availability: "unknown", | |
| }, | |
| { | |
| protocol: [ "fuchsia.boot.Items" ], | |
| from: "parent", | |
| to: "#hwinfo", | |
| }, | |
| { | |
| config: [ | |
| "fuchsia.hwinfo.ProductManufacturer", | |
| "fuchsia.hwinfo.ProductModel", | |
| "fuchsia.hwinfo.ProductName", | |
| ], | |
| from: "parent", | |
| to: "#hwinfo", | |
| availability: "optional", | |
| }, | |
| { | |
| directory: "config-data", | |
| from: "parent", | |
| to: "#font_provider", | |
| subdir: "fonts", | |
| }, | |
| { | |
| protocol: "fuchsia.kernel.Stats", | |
| from: "parent", | |
| to: "#cobalt_system_metrics", | |
| }, | |
| { | |
| // TODO(https://fxbug.dev/324273348): Remove this capability once the clients have | |
| // been migrated to services. The service capability has been added below. | |
| directory: "dev-class", | |
| from: "parent", | |
| as: "dev-thermal", | |
| to: "#cobalt_system_metrics", | |
| subdir: "thermal", | |
| }, | |
| { | |
| // This service replaces the directory capability above. | |
| service: "fuchsia.hardware.thermal.Service", | |
| from: "parent", | |
| to: "#cobalt_system_metrics", | |
| }, | |
| { | |
| directory: "root-ssl-certificates", | |
| from: "parent", | |
| to: [ "#network" ], | |
| }, | |
| { | |
| directory: "google-root-ssl-certificates", | |
| from: "parent", | |
| to: [ "#network" ], | |
| }, | |
| { | |
| directory: "google-root-ssl-certificates", | |
| from: "parent", | |
| as: "root-ssl-certificates", | |
| to: [ | |
| "#cobalt", | |
| "#timekeeper", | |
| ], | |
| }, | |
| { | |
| directory: "config-data", | |
| from: "parent", | |
| as: "system-update-committer-config-data", | |
| to: "#system-update", | |
| subdir: "system-update-committer", | |
| }, | |
| { | |
| directory: "config-data", | |
| from: "parent", | |
| to: "#cobalt", | |
| subdir: "cobalt", | |
| }, | |
| { | |
| directory: "config-data", | |
| from: "parent", | |
| to: "#cobalt_system_metrics", | |
| subdir: "cobalt_system_metrics", | |
| }, | |
| { | |
| storage: "data", | |
| from: "self", | |
| to: [ | |
| "#stash", | |
| "#stash2", | |
| "#stash_secure", | |
| ], | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.location.namedplace.RegulatoryRegionConfigurator", | |
| "fuchsia.location.namedplace.RegulatoryRegionWatcher", | |
| ], | |
| from: "#regulatory_region", | |
| to: "self/toolbox", | |
| target_availability: "unknown", | |
| }, | |
| { | |
| storage: [ "cache" ], | |
| from: "self", | |
| to: "#regulatory_region", | |
| }, | |
| { | |
| protocol: [ "fuchsia.vulkan.loader.Loader" ], | |
| from: "#vulkan_loader", | |
| to: [ "#agis" ], | |
| }, | |
| { | |
| protocol: [ "fuchsia.vulkan.loader.Loader" ], | |
| from: "#vulkan_loader", | |
| to: "self/toolbox", | |
| target_availability: "unknown", | |
| }, | |
| { | |
| service: "fuchsia.hardware.display.Service", | |
| from: "parent", | |
| to: [ "#agis" ], | |
| }, | |
| { | |
| config: [ | |
| "fuchsia.vulkan.loader.AllowGoldfishIcd", | |
| "fuchsia.vulkan.loader.AllowLavapipeIcd", | |
| "fuchsia.vulkan.loader.AllowMagmaIcds", | |
| ], | |
| from: "parent", | |
| to: "#vulkan_loader", | |
| availability: "optional", | |
| }, | |
| { | |
| config: "fuchsia.vulkan.loader.LavapipeIcdUrl", | |
| from: "void", | |
| to: "#vulkan_loader", | |
| availability: "optional", | |
| }, | |
| { | |
| protocol: "fuchsia.memorypressure.Provider", | |
| from: "#memory_pressure_signaler", | |
| to: "#vulkan_loader", | |
| source_availability: "unknown", | |
| }, | |
| { | |
| // TODO(https://fxbug.dev/324273348): Remove this capability once the clients have | |
| // been migrated to services. The service capability has been added below. | |
| directory: "dev-class", | |
| from: "parent", | |
| as: "dev-gpu", | |
| to: [ "#vulkan_loader" ], | |
| subdir: "gpu", | |
| }, | |
| { | |
| // This service replaces the directory capability above. | |
| service: "fuchsia.gpu.magma.Service", | |
| from: "parent", | |
| to: [ "#vulkan_loader" ], | |
| }, | |
| { | |
| service: "fuchsia.gpu.magma.TrustedService", | |
| from: "parent", | |
| to: [ "#vulkan_loader" ], | |
| }, | |
| { | |
| service: "fuchsia.gpu.magma.DependencyInjectionService", | |
| from: "parent", | |
| to: "#vulkan_loader", | |
| }, | |
| { | |
| // TODO(https://fxbug.dev/324273348): Remove this capability once the clients have | |
| // been migrated to services. The service capability has been added below. | |
| directory: "dev-class", | |
| from: "parent", | |
| as: "dev-goldfish-pipe", | |
| to: "#vulkan_loader", | |
| subdir: "goldfish-pipe", | |
| }, | |
| { | |
| // This service replaces the directory capability above. | |
| service: "fuchsia.hardware.goldfish.ControllerService", | |
| from: "parent", | |
| to: "#vulkan_loader", | |
| }, | |
| { | |
| // TODO(https://fxbug.dev/324273348): Remove this capability once the clients have | |
| // been migrated to services. The service capability has been added below. | |
| directory: "dev-class", | |
| from: "parent", | |
| as: "dev-goldfish-control", | |
| to: "#vulkan_loader", | |
| subdir: "goldfish-control", | |
| }, | |
| { | |
| // This service replaces the directory capability above. | |
| service: "fuchsia.hardware.goldfish.ControlService", | |
| from: "parent", | |
| to: "#vulkan_loader", | |
| }, | |
| { | |
| // TODO(https://fxbug.dev/324273348): Remove this capability once the clients have | |
| // been migrated to services. The service capability has been added below. | |
| directory: "dev-class", | |
| from: "parent", | |
| as: "dev-goldfish-address-space", | |
| to: "#vulkan_loader", | |
| subdir: "goldfish-address-space", | |
| }, | |
| { | |
| // This service replaces the directory capability above. | |
| service: "fuchsia.hardware.goldfish.AddressSpaceService", | |
| from: "parent", | |
| to: "#vulkan_loader", | |
| }, | |
| { | |
| // TODO(https://fxbug.dev/324273348): Remove this capability once the clients have | |
| // been migrated to services. The service capability has been added below. | |
| directory: "dev-class", | |
| from: "parent", | |
| as: "dev-goldfish-sync", | |
| to: "#vulkan_loader", | |
| subdir: "goldfish-sync", | |
| }, | |
| { | |
| // This service replaces the directory capability above. | |
| service: "fuchsia.hardware.goldfish.SyncService", | |
| from: "parent", | |
| to: "#vulkan_loader", | |
| }, | |
| { | |
| // TODO(https://fxbug.dev/324273348): Remove this capability once the clients have | |
| // been migrated to services. The service capability has been added below. | |
| directory: "dev-class", | |
| from: "parent", | |
| as: "dev-rtc", | |
| to: "#timekeeper", | |
| subdir: "rtc", | |
| }, | |
| { | |
| // This service replaces the directory capability above. | |
| service: "fuchsia.hardware.rtc.Service", | |
| from: "parent", | |
| to: "#timekeeper", | |
| }, | |
| { | |
| // For wake alarms programming. | |
| // TODO(https://fxbug.dev/324273348): Remove this capability once the clients have | |
| // been migrated to services. The service capability has been added below. | |
| directory: "dev-class", | |
| from: "parent", | |
| as: "dev-hrtimer", | |
| to: "#timekeeper", | |
| subdir: "hrtimer", | |
| }, | |
| { | |
| // This service replaces the directory capability above. | |
| service: "fuchsia.hardware.hrtimer.Service", | |
| from: "parent", | |
| to: "#timekeeper", | |
| }, | |
| { | |
| protocol: "fuchsia.metrics.MetricEventLoggerFactory", | |
| from: "#cobalt", | |
| to: [ | |
| "#cobalt_system_metrics", | |
| "#pkg-resolver", | |
| "#timekeeper", | |
| ], | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.scheduler.RoleManager", | |
| "fuchsia.sysinfo.SysInfo", | |
| ], | |
| from: "parent", | |
| to: "#cobalt", | |
| }, | |
| { | |
| protocol: "fuchsia.sysinfo.SysInfo", | |
| from: "parent", | |
| to: "#cobalt_system_metrics", | |
| }, | |
| { | |
| protocol: "fuchsia.sysinfo.SysInfo", | |
| from: "parent", | |
| to: "#mdns", | |
| }, | |
| { | |
| protocol: "fuchsia.settings.Privacy", | |
| from: "#setui_service", | |
| to: "#cobalt", | |
| // TODO: break the cycle | |
| dependency: "weak", | |
| source_availability: "unknown", | |
| }, | |
| { | |
| storage: "data", | |
| from: "self", | |
| to: [ | |
| "#cobalt", | |
| "#cobalt_system_metrics", | |
| ], | |
| }, | |
| { | |
| directory: "config-data", | |
| from: "parent", | |
| to: "#mdns", | |
| subdir: "mdns", | |
| }, | |
| { | |
| directory: "boot", | |
| from: "parent", | |
| to: "#mdns", | |
| }, | |
| { | |
| protocol: [ "fuchsia.time.Maintenance" ], | |
| from: "parent", | |
| to: [ "#timekeeper" ], | |
| }, | |
| { | |
| protocol: [ "fuchsia.driver.token.Debug" ], | |
| from: "parent", | |
| to: [ "#timekeeper" ], | |
| }, | |
| { | |
| protocol: "fuchsia.stash.Store", | |
| from: "#stash", | |
| to: "self/toolbox", | |
| target_availability: "unknown", | |
| }, | |
| { | |
| protocol: "fuchsia.stash.Store2", | |
| from: "#stash2", | |
| to: "self/toolbox", | |
| target_availability: "unknown", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.pkg.RepositoryManager", | |
| "fuchsia.pkg.rewrite.Engine", | |
| ], | |
| from: "#pkg-resolver", | |
| to: "self/toolbox", | |
| target_availability: "unknown", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.power.broker.Topology", | |
| "fuchsia.power.system.ActivityGovernor", | |
| ], | |
| from: "parent", | |
| to: [ | |
| "#exceptions", | |
| "#timekeeper", | |
| ], | |
| // Only used by timekeeper if the structured config option is set | |
| // for timekeeper: | |
| // `power_topology_integration_enabled: true` | |
| // See: | |
| // `//src/sys/time/timekeeper/config.shard.cml` | |
| availability: "optional", | |
| }, | |
| { | |
| config: [ | |
| "fuchsia.time.config.BackOffTimeBetweenPullSamplesSec", | |
| "fuchsia.time.config.EarlyExit", | |
| "fuchsia.time.config.FirstSamplingDelaySec", | |
| "fuchsia.time.config.HasAlwaysOnCounter", | |
| "fuchsia.time.config.HasRealTimeClock", | |
| "fuchsia.time.config.MinAcceptableBootTimeForUtcUpdateMinutes", | |
| "fuchsia.time.config.MinUtcReferenceToBackstopDiffMinutes", | |
| "fuchsia.time.config.PeriodicRtcUpdateIntervalMinutes", | |
| "fuchsia.time.config.PowerTopologyIntegrationEnabled", | |
| "fuchsia.time.config.RtcAllowSettingPastUtc", | |
| "fuchsia.time.config.ServeFuchsiaTimeAlarms", | |
| "fuchsia.time.config.ServeTestProtocols", | |
| "fuchsia.time.config.TimeSourceEndpointUrl", | |
| "fuchsia.time.config.UseConnectivity", | |
| "fuchsia.time.config.UtcMaxAllowedDeltaFutureSec", | |
| "fuchsia.time.config.UtcMaxAllowedDeltaPastSec", | |
| "fuchsia.time.config.UtcStartAtStartup", | |
| "fuchsia.time.config.UtcStartAtStartupWhenInvalidRtc", | |
| "fuchsia.time.config.WritableUTCTime", | |
| ], | |
| from: "parent", | |
| to: "#timekeeper", | |
| availability: "optional", | |
| }, | |
| { | |
| config: [ | |
| "fuchsia.time.config.DisableDelays", | |
| "fuchsia.time.config.InitialFrequencyPpm", | |
| "fuchsia.time.config.MaxFrequencyErrorPpm", | |
| "fuchsia.time.config.MonitorTimeSourceUrl", | |
| "fuchsia.time.config.MonitorUsesPull", | |
| "fuchsia.time.config.OscillatorErrorStdDevPpm", | |
| "fuchsia.time.config.PrimaryTimeSourceUrl", | |
| "fuchsia.time.config.PrimaryUsesPull", | |
| ], | |
| from: "void", | |
| to: "#timekeeper", | |
| availability: "optional", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.tracing.perfetto.ProducerConnector", | |
| "fuchsia.tracing.provider.Registry", | |
| ], | |
| from: "#trace_manager", | |
| to: "all", | |
| // Weak offers to resolve dependency cycles that would be caused by | |
| // using #core-env. Regardless of cycles, tracing is an optional | |
| // feature and a client should be able to handle trace_manager | |
| // being unavailable. | |
| dependency: "weak", | |
| // Trace manager may be excluded from builds where tracing is not | |
| // expected to be used for observability, such as in the bringup | |
| // product and non-eng builds of any product. | |
| source_availability: "unknown", | |
| }, | |
| { | |
| protocol: "fuchsia.update.channel.Provider", | |
| from: "#system-update", | |
| to: "#cobalt", | |
| dependency: "weak", | |
| availability: "optional", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.update.channel.Provider", | |
| "fuchsia.update.channelcontrol.ChannelControl", | |
| "fuchsia.update.config.OptOut", | |
| "fuchsia.update.config.OptOutAdmin", | |
| "fuchsia.update.Manager", | |
| ], | |
| from: "#system-update", | |
| to: "self/toolbox", | |
| availability: "optional", | |
| target_availability: "unknown", | |
| }, | |
| { | |
| protocol: "fuchsia.update.installer.Installer", | |
| from: "#system-update", | |
| to: "self/toolbox", | |
| target_availability: "unknown", | |
| }, | |
| ], | |
| expose: [ | |
| { | |
| protocol: [ "fuchsia.dash.Launcher" ], | |
| from: "#debug-dash-launcher", | |
| source_availability: "unknown", | |
| }, | |
| { | |
| protocol: "fuchsia.component.Binder", | |
| from: "framework", | |
| }, | |
| { | |
| protocol: [ "fuchsia.metrics.MetricEventLoggerFactory" ], | |
| from: "#cobalt", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.pkg.Authority", | |
| "fuchsia.pkg.RepositoryManager", | |
| "fuchsia.pkg.rewrite.Engine", | |
| ], | |
| from: "#pkg-resolver", | |
| }, | |
| { | |
| protocol: [ "fuchsia.ui.activity.Provider" ], | |
| from: "#activity", | |
| }, | |
| { | |
| protocol: "fuchsia.update.CommitStatusProvider", | |
| from: "#system-update", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.net.name.Lookup", | |
| "fuchsia.posix.socket.Provider", | |
| ], | |
| from: "#network", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.virtualization.LinuxManager", | |
| "fuchsia.virtualization.TerminaGuestManager", | |
| ], | |
| from: "#termina-guest-manager", | |
| source_availability: "unknown", | |
| }, | |
| { | |
| protocol: [ "fuchsia.virtualization.DebianGuestManager" ], | |
| from: "#debian-guest-manager", | |
| source_availability: "unknown", | |
| }, | |
| { | |
| protocol: [ "fuchsia.virtualization.ZirconGuestManager" ], | |
| from: "#zircon-guest-manager", | |
| source_availability: "unknown", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.tracing.controller.Provisioner", | |
| "fuchsia.tracing.controller.Session", | |
| "fuchsia.tracing.perfetto.ProducerConnector", | |
| "fuchsia.tracing.provider.Registry", | |
| ], | |
| from: "#trace_manager", | |
| source_availability: "unknown", | |
| }, | |
| { | |
| protocol: [ "fuchsia.power.topology.test.SystemActivityControl" ], | |
| from: "#system-activity-governor-controller", | |
| source_availability: "unknown", | |
| }, | |
| { | |
| protocol: [ "fuchsia.power.battery.BatteryManager" ], | |
| from: "#battery_manager", | |
| source_availability: "unknown", | |
| }, | |
| ], | |
| } |