xref: /aosp_15_r20/external/cronet/build/config/fuchsia/test/minimum.shard.test-cml (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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  // Add capability providers.
9  children: [
10    {
11      name: "build-info-service",
12      url: "fuchsia-pkg://fuchsia.com/fake-build-info#meta/fake_build_info.cm",
13    },
14    {
15      name: "intl_property_manager",
16      url: "fuchsia-pkg://fuchsia.com/intl_property_manager#meta/intl_property_manager.cm",
17    },
18  ],
19  offer: [
20    {
21      protocol: "fuchsia.logger.LogSink",
22      from: "parent",
23      to: [ "#intl_property_manager" ],
24    }
25  ],
26  use: [
27    // Holds ICU time zone data files.
28    // See:
29    // https://fuchsia.dev/fuchsia-src/concepts/process/namespaces?typical_directory_structure
30    {
31      directory: "tzdata-icu",
32      rights: [ "r*" ],
33      path: "/config/tzdata/icu",
34    },
35    {
36      storage: "cache",
37      path: "/cache",
38    },
39    {
40      storage: "custom_artifacts",
41      path: "/custom_artifacts",
42    },
43    {
44      storage: "data",
45      path: "/data",
46    },
47    {
48      storage: "tmp",
49      path: "/tmp",
50    },
51    {
52      protocol: [ "fuchsia.buildinfo.Provider" ],
53      from: "#build-info-service",
54    },
55    {
56      protocol: [ "fuchsia.intl.PropertyProvider" ],
57      from: "#intl_property_manager",
58    },
59    {
60      protocol: [
61        "fuchsia.hwinfo.Product",
62        "fuchsia.media.ProfileProvider",
63        "fuchsia.process.Launcher",
64      ],
65    },
66    {
67      protocol: [
68        "fuchsia.tracing.perfetto.ProducerConnector",
69      ],
70      availability: "optional",
71    },
72  ],
73  facets: {
74      "fuchsia.test": {
75          "deprecated-allowed-packages": [
76             "fake-build-info",
77             "intl_property_manager",
78          ],
79      },
80  },
81}
82