commit | 55a1b16b386ed2aa065c47bbd32a150d798d29af | [log] [tgz] |
---|---|---|
author | Yicheng Li <yichengli@chromium.org> | Sat Feb 08 01:38:21 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Mar 12 22:27:20 2020 |
tree | a16e39e3ecc61684049081eacad0a2a67cda31e8 | |
parent | a297b2e74678d48a84a18a3405633da401d6b435 [diff] |
cbor: Adapt for ChromeOS build The original BUILD.gn was taken from the chromium/src repo: https://chromium.googlesource.com/chromium/src/+/242df8b64d2a0ab5f057d1d4c76ea8537fdbb789 Modify BUILD.gn to work with ChromeOS platform2 build system, so that "emerge-<board> cbor" would work (see also the corresponding ebuild CL). Also modify path of header files since these are no longer under components/ Also change the copyright author field name to "Chromium OS Authors" but keep the year, as advised by the opensource licensing team. BUG=b:144861739 TEST=cros_workon-nocturne start cbor FEATURES=test emerge-nocturne cbor TEST=USE="asan fuzzer" emerge-nocturne cbor cros_fuzz --board=nocturne shell /usr/libexec/fuzzers/reader_fuzzer cros_fuzz --board=nocturne cleanup Cq-Depend: chromium:2045218 Change-Id: I03dcd6c21e533f414d579bc592126c3f41cff92d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/cbor/+/2045025 Reviewed-by: Tom Hughes <tomhughes@chromium.org> Tested-by: Yicheng Li <yichengli@chromium.org> Commit-Queue: Yicheng Li <yichengli@chromium.org>
cbor
: Concise Binary Object RepresentationThis library is a partial implementation of the RFC 7049 Concise Binary Object Representation standard.
The source code was fetched from chromium/src
(https://chromium.googlesource.com/chromium/src/+/242df8b64d2a0ab5f057d1d4c76ea8537fdbb789) in order to avoid code duplication.
To pull in updates from chromium/src
, do the following:
git remote add upstream https://chromium.googlesource.com/chromium/src
git fetch upstream master
git checkout -b staging-branch upstream/master
git subtree split -P components/cbor -b synthetic-branch
git checkout master
git merge --allow-unrelated-histories -s subtree synthetic-branch
git branch -D staging-branch synthetic-branch
git remote remove upstream