HAL test: statically test the offsets of known struct members
Make sure the ABI doesn't get inadvertently broken by moving HAL interface
struct members around.
Change-Id: I058c963df002dc7c12eb24181d5db74c0c6fd38c
diff --git a/tests/hardware/Android.mk b/tests/hardware/Android.mk
index 90cae87..3df02f6 100644
--- a/tests/hardware/Android.mk
+++ b/tests/hardware/Android.mk
@@ -1,8 +1,8 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
-LOCAL_MODULE := struct-size
-LOCAL_SRC_FILES := struct-size.cpp
+LOCAL_MODULE := static-hal-check
+LOCAL_SRC_FILES := struct-size.cpp struct-offset.cpp
LOCAL_SHARED_LIBRARIES := libhardware
LOCAL_CFLAGS := -std=gnu++11 -O0