After commit 94bb596, the tests for drm_hwcomposer no longer build, because the build system detects that they are linking other vendor modules (but installing themselves elsewhere).
This change also adds the libhardware include path explicitly, as the implicit include of hardware/libhardware/include is going away.
Cc: John Stultz john.stultz@linaro.org Cc: Rob Herring rob.herring@linaro.org Cc: Sumit Semwal sumit.semwal@linaro.org Cc: Sean Paul seanpaul@google.com Cc: Robert Foss robert.foss@collabora.com Signed-off-by: Alistair Strachan astrachan@google.com --- tests/Android.mk | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/tests/Android.mk b/tests/Android.mk index 3b9e0a2..c6a0afa 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -7,6 +7,8 @@ LOCAL_SRC_FILES := \ worker_test.cpp
LOCAL_MODULE := hwc-drm-tests +LOCAL_VENDOR_MODULE := true +LOCAL_HEADER_LIBRARIES := libhardware_headers LOCAL_STATIC_LIBRARIES := libdrmhwc_utils LOCAL_SHARED_LIBRARIES := hwcomposer.drm LOCAL_C_INCLUDES := external/drm_hwcomposer