tree: bf81f300b378b186563684b3e569253db8222cf2 [path history] [tgz]
  1. src/
  2. banjo_library.json
  3. bind_library.json
  4. BUILD.gn
  5. cc_prebuilt_library.json
  6. cc_source_library.json
  7. common.json
  8. companion_host_tool.json
  9. cts_resource.json
  10. cts_source_library.json
  11. dart_library.json
  12. data.json
  13. documentation.json
  14. emu_manifest.json
  15. fidl_library.json
  16. flash_manifest-835e8f26.json
  17. hardware-f6f47515.json
  18. host_tool.json
  19. loadable_module.json
  20. manifest.json
  21. physical_device-0bd5d21f.json
  22. product_bundle-6320eef1.json
  23. product_bundle_container-32z5e391.json
  24. product_bundle_container-76a5c104.json
  25. product_bundle_container.go
  26. product_bundle_container_test.go
  27. README.md
  28. sysroot.json
  29. version.gni
  30. version_history-038fa854.json
  31. version_history-ef02ef45.json
  32. virtual_device-93A41932.json
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.

Testing

Run unit tests with:

fx test host_x64/sdk_metadata_lib_test