Commit graph

9 commits

Author SHA1 Message Date
Ivan Lozano
36352e2ad4 Don't explicitly enable CFI in libavc.
Previously there was no other sanitization, so in order for the
blacklist to be picked up CFI had to be enabled. With integer_overflow
enabled, we no longer need it enabled explicitly in the build file.
Since libavc is a static library, both CFI and non-CFI variants will
be built and linked accordingly.

If libavc is used as a shared library in the future, we'll need to
explicitly re-enable CFI in the build file.

Bug: 63926619
Test: Library builds.
Change-Id: I2646e1422c29073d2e622ded1a9074426b186130
2018-07-17 08:42:51 -07:00
Ivan Lozano
ce46181b5f Enable integer overflow sanitization for libavc.
This enables integer overflow sanitization for libavc, initially in
diagnostics mode.

Bug: 110791537
Test: CTS tests
Change-Id: Ida5679156d866ed24f468867244bb00a10d967ca
2018-07-13 13:40:29 -07:00
Wonsik Kim
83355ea81f Blacklist cfi for libavc
CFI does not recognize assembly functions as valid indirect call
targets.

Test: no cfi checks in libavcdec/libavcenc
Change-Id: I173eeaad0a908bfd055d21a5c7eec9634ba0ac95
2018-01-22 11:33:09 -08:00
Chih-Hung Hsieh
e86daca6c9 Use -Werror in external/libavc am: 4852fbb62a am: a93c0e8b18
am: b683d3d275

Change-Id: If3f77b2e11fe935248be1fcf776548a3d4dce63f
2017-10-15 04:24:14 +00: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
Isaac Chen
23788e9685 Enable 32-bit armv8 NEON for libavc am: 78002919ca am: d1b54afe17
am: 3029bfa72e

Change-Id: I85df297a4a0e325c8bf65159edd99d8498dad575
2017-09-15 04:39:19 +00:00
Isaac Chen
78002919ca Enable 32-bit armv8 NEON for libavc
Since ARM neon instructions were only used on armv7-a-neon
architecture variant, the default implementation for this
library doesn't use these advanced SIMD instructions.

Bug: 65568114
Test: lunch aosp_arm64; emulator # on oc-mr1-dev; boot to home screen
Change-Id: I7d0c75045fc69523861ed5a00f6033ac327f4031
2017-09-12 16:57:35 +08:00
Jiyong Park
4bd04b1b0c Make software codecs as VNDK
Software codecs and their dependencies are marked as VNDK (or just
vendor_available:true for static/header libs).

Bug: 37343418
Test: build the software codecs with BOARD_VNDK_VERSION=current
Change-Id: I84a07188fda0e89e422caee634cb12ec82568028
2017-08-07 13:14:45 +09: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