Cmake scripts are now modular. Separate scripts now handle
build specifications for each target and dependency.
Toolchain files have been added for armv7, armv8 builds.
Bug: 213579857
Test: Builds using cmake
Test: Builds in OSS-fuzz
Change-Id: Iac62b443c0a0de09a2ce6553a660db2c3d5dc846
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
fuzzer/Android.bp
test/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I3ad48ae634869eb3486d5c68962c992be83b2003
Add support to configure architecture
Limit number of decode calls to 100
Avoid zero size allocations
Bug: 141574514
Test: ./avc_dec_fuzzer
Change-Id: I3a449a795e1d849424dafb00142d861988e5a0e4
There's no <malloc.h> on Darwin. Normally I'd say "prefer <stdlib.h>",
but in this case it looks like the code actually uses memalign. There
is no memalign on Darwin. You'll need to switch to posix_memalign if
you actually care about building this.
For now, the easiest is to just exclude macOS.
Test: treehugger
Change-Id: Id8a11cd141f5c4bd30ce95b61ac64759e17732fc