| // Copyright 2022 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| { |
| include: [ |
| "syslog/client.shard.cml", |
| ], |
| // The following components must be subpackaged by all Chromium tests that |
| // aren't system tests, to provide implementations of always-required |
| // capabilities (see the `use`s and `offer`s). |
| children: [ |
| { |
| name: "build-info-service", |
| url: "fake-build-info#meta/fake_build_info.cm", |
| }, |
| { |
| name: "intl_property_manager", |
| url: "intl_property_manager#meta/intl_property_manager.cm", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: "fuchsia.logger.LogSink", |
| from: "parent", |
| to: [ "#intl_property_manager" ], |
| } |
| ], |
| use: [ |
| // Holds ICU time zone data files. |
| // See: |
| // https://fuchsia.dev/fuchsia-src/concepts/process/namespaces?typical_directory_structure |
| { |
| directory: "tzdata-icu", |
| rights: [ "r*" ], |
| path: "/config/tzdata/icu", |
| }, |
| { |
| storage: "cache", |
| path: "/cache", |
| }, |
| { |
| storage: "custom_artifacts", |
| path: "/custom_artifacts", |
| }, |
| { |
| storage: "data", |
| path: "/data", |
| }, |
| { |
| storage: "tmp", |
| path: "/tmp", |
| }, |
| { |
| protocol: [ "fuchsia.buildinfo.Provider" ], |
| from: "#build-info-service", |
| }, |
| { |
| protocol: [ "fuchsia.intl.PropertyProvider" ], |
| from: "#intl_property_manager", |
| }, |
| { |
| protocol: [ |
| "fuchsia.hwinfo.Product", |
| "fuchsia.media.ProfileProvider", |
| "fuchsia.process.Launcher", |
| ], |
| }, |
| { |
| protocol: [ |
| "fuchsia.tracing.perfetto.ProducerConnector", |
| ], |
| availability: "optional", |
| }, |
| ], |
| facets: { |
| "fuchsia.test": { |
| "deprecated-allowed-packages": [ |
| "fake-build-info", |
| "intl_property_manager", |
| ], |
| }, |
| }, |
| } |