tree: 15efbdd0734f7e26ba26ceb04de1c274cda9848a [path history] [tgz]
  1. src/
  2. banjo_library.json
  3. BUILD.gn
  4. cc_prebuilt_library.json
  5. cc_source_library.json
  6. common.json
  7. dart_library.json
  8. data.json
  9. device_profile.json
  10. documentation.json
  11. fidl_library.json
  12. host_tool.json
  13. loadable_module.json
  14. manifest.json
  15. README.md
  16. sysroot.json
  17. 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.