A component manifest is a file that defines a component by encoding a component declaration. This document gives an overview of the concepts used by component declarations. Component declarations contain information about the following:
A component manifest source is a file that encodes part of a component manifest. Component manifest sources are written in component manifest language (CML), which is the developer-facing source format for component manifests. CML files are JSON5 files that end with a .cml
extension.
The cmc
tool compiles component manifest sources to component manifests as a part of the build process.
A component manifest is a binary file that encodes the component declaration, usually distributed as part of a package . The binary format is the persistent encoded form of the component declaration FIDL object.
A component URL identifies a component in a package by its component manifest resource path, typically ending in a .cm
extension.
A component declaration describes what a component can do, the capabilities it uses and exposes, its children, and other information needed to run the component. Component declarations are represented using the Component
FIDL table.
The framework calls a component resolver to retrieve a component declaration from a component URL.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-22 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-22 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4