diff options
author | Ivan Lozano <ivanlozano@google.com> | 2018-07-17 09:49:44 -0700 |
---|---|---|
committer | Ivan Lozano <ivanlozano@google.com> | 2018-07-17 09:49:44 -0700 |
commit | 20a0df1a8013a389e571d3ef3b264df2cd3e7c7d (patch) | |
tree | 744842a83f3b86176151c13dbe4b77edc8a92e95 /Android.bp | |
parent | 11b93edeae70b5f00bc3d366b7cfa87f66f00487 (diff) | |
download | libhevc-20a0df1a8013a389e571d3ef3b264df2cd3e7c7d.tar.gz |
Don't explicitly enable CFI in libhevc.
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 libhevc is a static library, both CFI and non-CFI variants will
be built and linked accordingly.
If libhevc 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: If852aa732d12f1176f57c3c9f7f4574d709c13ab
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -391,10 +391,10 @@ cc_library_static { sanitize: { integer_overflow: true, - cfi: true, + // Enable CFI if this becomes a shared library. + // cfi: true, diag: { integer_overflow: true, - cfi: true, }, blacklist: "libhevc_blacklist.txt", }, |