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