summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorIcenowy Zheng <[email protected]>2019-04-15 12:32:43 +0800
committerQiang Yu <[email protected]>2019-04-21 01:05:19 +0000
commit3e91c7d54494397fcdd74b54bee18c991283e831 (patch)
treefde2209679a0ab2d576ae0f6a74ddd69475fa299 /src/gallium/winsys
parent8b13aac9666951bade6ac5fff9eb7c45a7d2748a (diff)
lima: add Android build
Currently only meson build supported is added for lima driver. Add Android build support for lima. Signed-off-by: Icenowy Zheng <[email protected]> Acked-by: Qiang Yu <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/lima/drm/Android.mk32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/gallium/winsys/lima/drm/Android.mk b/src/gallium/winsys/lima/drm/Android.mk
new file mode 100644
index 00000000000..cd5e5ad5678
--- /dev/null
+++ b/src/gallium/winsys/lima/drm/Android.mk
@@ -0,0 +1,32 @@
+# Copyright (C) 2019 Icenowy Zheng <[email protected]>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+# DEALINGS IN THE SOFTWARE.
+
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := \
+ lima_drm_public.h \
+ lima_drm_winsys.c
+
+LOCAL_MODULE := libmesa_winsys_lima
+
+include $(GALLIUM_COMMON_MK)
+include $(BUILD_STATIC_LIBRARY)