diff options
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/Android.mk | 5 | ||||
-rw-r--r-- | src/gallium/winsys/i915/drm/Android.mk | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/Android.mk b/src/gallium/winsys/amdgpu/drm/Android.mk index 1b9439c4f88..75a4a15809f 100644 --- a/src/gallium/winsys/amdgpu/drm/Android.mk +++ b/src/gallium/winsys/amdgpu/drm/Android.mk @@ -41,3 +41,8 @@ LOCAL_MODULE := libmesa_winsys_amdgpu include $(GALLIUM_COMMON_MK) include $(BUILD_STATIC_LIBRARY) + +ifneq ($(HAVE_GALLIUM_RADEONSI),) +$(eval GALLIUM_LIBS += $(LOCAL_MODULE) $(LOCAL_STATIC_LIBRARIES)) +$(eval GALLIUM_SHARED_LIBS += $(LOCAL_SHARED_LIBRARIES)) +endif diff --git a/src/gallium/winsys/i915/drm/Android.mk b/src/gallium/winsys/i915/drm/Android.mk index b38bd8dca06..bab3e85c5dd 100644 --- a/src/gallium/winsys/i915/drm/Android.mk +++ b/src/gallium/winsys/i915/drm/Android.mk @@ -35,3 +35,7 @@ LOCAL_MODULE := libmesa_winsys_i915 include $(GALLIUM_COMMON_MK) include $(BUILD_STATIC_LIBRARY) + +ifneq ($(HAVE_GALLIUM_I915),) +$(eval GALLIUM_SHARED_LIBS += $(LOCAL_SHARED_LIBRARIES)) +endif |