diff options
author | Rom Lemarchand <romlem@google.com> | 2013-11-22 14:59:54 -0800 |
---|---|---|
committer | Rom Lemarchand <romlem@google.com> | 2013-11-22 17:47:52 -0800 |
commit | 1b22d0759458a0735bc3f4be783a8887d08b5d14 (patch) | |
tree | 9e195e417053575a7f996be0e71fae1177993333 /tests/hardware/Android.mk | |
parent | 4c2aa4c223963d4f5cbb3605974fbc11ca2a7a6e (diff) | |
download | hardware_libhardware-1b22d0759458a0735bc3f4be783a8887d08b5d14.zip hardware_libhardware-1b22d0759458a0735bc3f4be783a8887d08b5d14.tar.gz hardware_libhardware-1b22d0759458a0735bc3f4be783a8887d08b5d14.tar.bz2 |
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
Diffstat (limited to 'tests/hardware/Android.mk')
-rw-r--r-- | tests/hardware/Android.mk | 4 |
1 files changed, 2 insertions, 2 deletions
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 |