diff mbox

drm_hwcomposer: Mark tests as vendor, fix build

Message ID 20180502235522.104817-1-astrachan@google.com (mailing list archive)
State New, archived
Headers show

Commit Message

Alistair Strachan May 2, 2018, 11:55 p.m. UTC
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 mbox

Patch

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