drm_hwcomposer: Mark tests as vendor, fix build
PATCH 1/1 drm_hwcomposer: Mark tests as vendor, fix build
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.
--- tests/Android.mk | 2 ++ 1 file changed, 2 insertions(+)
tests/Android.mk +2 -0
@@ -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
Signature · 6 lines
2.17.0.441.gb46fe60e1d-goog _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 7 lines · Alistair Strachan
After commit 94bb596, the tests for
drm_hwcomposerno 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.
Quoted 6 lines
Cc John Stultz <[email protected]>Cc Rob Herring <[email protected]>Cc Sumit Semwal <[email protected]>Cc Sean Paul <[email protected]>Cc Robert Foss <[email protected]>Signed-off-by Alistair Strachan <[email protected]>
Thanks for catching this!
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel