tree: ef1362e2f6f496dd86dfa54d22f7257dda10525b [path history] [tgz]
  1. banjo_library.json
  2. cc_prebuilt_library.json
  3. cc_source_library.json
  4. common.json
  5. dart_library.json
  6. documentation.json
  7. fidl_library.json
  8. host_tool.json
  9. image.json
  10. loadable_module.json
  11. manifest.json
  12. README.md
  13. sysroot.json
  14. version.gni
build/sdk/meta/README.md

SDK metadata schemas

This directory contains JSON schemas for metadata files added to SDKs. These schemas are included in SDKs under //meta/schemas.

Versioning

In order to help consumers of the SDK adjust to metadata changes, each SDK embeds an opaque version number for its metadata schema. This version number is specified in version.gni and can be found in SDKs in //meta/manifest.json.

Changes to schemas that require some consumer action should be accompanied by an increment of this version number. Such changes include:

  • adding a new property;
  • changing a property from required to optional;
  • renaming a property;
  • changing a property's type;
  • adding a schema for a new SDK element type.