summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri/Android.mk
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2015-12-17 09:45:50 -0600
committerDave Airlie <[email protected]>2016-01-23 12:35:29 +1000
commit7ee89547533820eff3ff496dca10887cb2a8501b (patch)
treeb87d9f76e1d0c3dddd77732d8b8fe5790bb510ed /src/gallium/targets/dri/Android.mk
parent657dc4f533831f51e18892c2bba0bfccf9abcf98 (diff)
virgl: enable building on Android
This is just a copy-n-paste and rename of vc4 Android makefiles. Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/targets/dri/Android.mk')
-rw-r--r--src/gallium/targets/dri/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/Android.mk b/src/gallium/targets/dri/Android.mk
index 9118fef8724..d4030852943 100644
--- a/src/gallium/targets/dri/Android.mk
+++ b/src/gallium/targets/dri/Android.mk
@@ -92,6 +92,10 @@ ifneq ($(filter vc4,$(MESA_GPU_DRIVERS)),)
LOCAL_CFLAGS += -DGALLIUM_VC4
gallium_DRIVERS += libmesa_winsys_vc4 libmesa_pipe_vc4
endif
+ifneq ($(filter virgl,$(MESA_GPU_DRIVERS)),)
+LOCAL_CFLAGS += -DGALLIUM_VIRGL
+gallium_DRIVERS += libmesa_winsys_virgl libmesa_pipe_virgl
+endif
ifneq ($(filter vmwgfx,$(MESA_GPU_DRIVERS)),)
gallium_DRIVERS += libmesa_winsys_svga libmesa_pipe_svga
LOCAL_CFLAGS += -DGALLIUM_VMWGFX