1// Copyright 2022 The Chromium Authors 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4{ 5 include: [ 6 "syslog/client.shard.cml", 7 ], 8 // The following components must be subpackaged by all Chromium tests that 9 // aren't system tests, to provide implementations of always-required 10 // capabilities (see the `use`s and `offer`s). 11 children: [ 12 { 13 name: "build-info-service", 14 url: "fake-build-info#meta/fake_build_info.cm", 15 }, 16 { 17 name: "intl_property_manager", 18 url: "intl_property_manager#meta/intl_property_manager.cm", 19 }, 20 ], 21 offer: [ 22 { 23 protocol: "fuchsia.logger.LogSink", 24 from: "parent", 25 to: [ "#intl_property_manager" ], 26 } 27 ], 28 use: [ 29 // Holds ICU time zone data files. 30 // See: 31 // https://fuchsia.dev/fuchsia-src/concepts/process/namespaces?typical_directory_structure 32 { 33 directory: "tzdata-icu", 34 rights: [ "r*" ], 35 path: "/config/tzdata/icu", 36 }, 37 { 38 storage: "cache", 39 path: "/cache", 40 }, 41 { 42 storage: "custom_artifacts", 43 path: "/custom_artifacts", 44 }, 45 { 46 storage: "data", 47 path: "/data", 48 }, 49 { 50 storage: "tmp", 51 path: "/tmp", 52 }, 53 { 54 protocol: [ "fuchsia.buildinfo.Provider" ], 55 from: "#build-info-service", 56 }, 57 { 58 protocol: [ "fuchsia.intl.PropertyProvider" ], 59 from: "#intl_property_manager", 60 }, 61 { 62 protocol: [ 63 "fuchsia.hwinfo.Product", 64 "fuchsia.media.ProfileProvider", 65 "fuchsia.process.Launcher", 66 ], 67 }, 68 { 69 protocol: [ 70 "fuchsia.tracing.perfetto.ProducerConnector", 71 ], 72 availability: "optional", 73 }, 74 ], 75 facets: { 76 "fuchsia.test": { 77 "deprecated-allowed-packages": [ 78 "fake-build-info", 79 "intl_property_manager", 80 ], 81 }, 82 }, 83} 84