This library is a partial implementation of the RFC 7049 Concise Binary Object Representation standard.
The source code was fetched from
chromium/src in order to avoid code duplication.
cros/upstream/main branch is a mirror of the
components/cbor directory from upstream. It is automatically updated to reflect the latest changes in upstream.
To pull in updates from
chromium/src, do the following:
git remote update
git checkout -b main cros/main
git merge cros/upstream/main
OWNERSshould use the version from
BUILD.gnshould mostly use the version from
main, unless the upstream changes the files to be built.
#includepaths should use the version from
main(without “components/”). This should be the majority of the merge conflicts.
git revertafter committing the merge commit. This preserves the history and makes it clear why a change is being reverted rather than quietly changing it in the merge commit.
Push the resulting merge commit with:
(chroot) $ git push HEAD:refs/for/main