Commit graph

7 commits

Author SHA1 Message Date
Bob Badour
c0aae295ed [LSC] Add LOCAL_LICENSE_KINDS to external/libavc
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
2021-02-14 10:37:21 -08:00
Harish Mahendrakar
e2b463d2f8 encoder: Add host support
Test: Build libavc on host
Bug: 139379050

Change-Id: Ifcf60e2e0efd8a31df2a9741007ce6f544cdce3f
2019-09-20 22:05:26 +00:00
Elliott Hughes
724246bc74 Fix macOS build.
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
2019-09-08 13:20:07 -07:00
Harish Mahendrakar
41bd9cb168 decoder: Add host support
Test: Build libavcdec on host
Bug: 139379050
Change-Id: If81b01e3058e1ae42c8d266571a07deb39fbd603
2019-08-16 12:50:09 -07:00
Pirama Arumuga Nainar
0f1e83047c Do not pass "-pie" in cflags
Bug: http://b/111000555

It's only needed for linking and Android already passes this by default.
Passing it to a compile step causes clang to emit
-Wunused-command-line-argument.

Test: build
Change-Id: Iea608387a57f0a65cfc3e67ab19c8d812f4aef37
2018-06-29 14:59:14 -07:00
Chih-Hung Hsieh
4852fbb62a Use -Werror in external/libavc
* Suppress unused-variable warnings.
* Keep constant-conversion warnings.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Id46435816c0d671c9e03c5297810596df596c7f2
2017-09-28 13:39:11 -07:00
Colin Cross
fc442e1b02 Convert external/libavc to Android.bp
See build/soong/README.md for more information.

Test: m -j checkbuild
Change-Id: I302d98be9e99fce7284a44af329e22f38a2f066a
2017-05-02 13:55:44 -07:00