Tests & stronger guarantees for hidl_* pads.
- Test that pads are zero (for future proofing, also ran tests
on original implementation and bugfix).
- Use -Wpadded so that compiler guarantees there aren't padding
bits hiding elsewhere (there aren't)
Bug: 131356202
Test: libhidl_test
(without fixes, with fixes, and with this CL)
Change-Id: Ib52a16015b0393c104cd984376328cb0da888b03
Merged-In: Ib52a16015b0393c104cd984376328cb0da888b03
diff --git a/Android.bp b/Android.bp
index 29f9b56..7b4412a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -44,12 +44,15 @@
shared_libs: [
"android.hidl.memory@1.0",
"libbase",
- "libhidlbase",
- "liblog",
"libutils",
"libcutils",
+ "libvndksupport",
],
- static_libs: ["libgtest", "libgmock"],
+ static_libs: [
+ "libhidlbase",
+ "libgtest",
+ "libgmock"
+ ],
cflags: [
"-O0",