android: panfrost: Move pandecode into lib/
authorMauro Rossi <issor.oruam@gmail.com>
Mon, 10 Aug 2020 13:48:40 +0000 (15:48 +0200)
committerMauro Rossi <issor.oruam@gmail.com>
Mon, 10 Aug 2020 19:35:31 +0000 (21:35 +0200)
Fixes the following building errors:

target  C: libpanfrost_decode <= external/mesa/src/panfrost/pandecode/common.c
...
clang: error: no such file or directory: 'external/mesa/src/panfrost/pandecode/common.c'
clang: error: no input files

Fixes: d62a6e7c5 ("panfrost: Move pandecode into lib/")
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6261>

src/gallium/drivers/panfrost/Android.mk
src/gallium/targets/dri/Android.mk
src/panfrost/Android.mk
src/panfrost/Android.pandecode.mk [deleted file]
src/panfrost/Makefile.sources

index c6d7abfbd3051252df5193e4943173704df497a0..48c4d52c711728a5439d9b2e549cb8e2f763904c 100644 (file)
@@ -42,7 +42,6 @@ LOCAL_STATIC_LIBRARIES := \
        libmesa_nir \
        libmesa_winsys_panfrost \
        libpanfrost_bifrost \
-       libpanfrost_decode \
        libpanfrost_lib \
        libpanfrost_midgard \
        libpanfrost_shared \
index 244f67852f2794a051e6159a3e6963784c3d6fcd..9270ec147d711959d2046b9be86dea8a80f3dd87 100644 (file)
@@ -62,7 +62,6 @@ LOCAL_STATIC_LIBRARIES += \
        libfreedreno_perfcntrs \
        libmesa_gallium \
        libpanfrost_bifrost \
-       libpanfrost_decode \
        libpanfrost_lib \
        libpanfrost_midgard \
        libpanfrost_shared \
index b76a99a291dffb4f97b3a0819b69a0f3cd05f8b2..0681651ab2b39d542941e1002f4616caac3436c0 100644 (file)
@@ -30,4 +30,3 @@ include $(LOCAL_PATH)/Android.bifrost.mk
 include $(LOCAL_PATH)/Android.lib.mk
 include $(LOCAL_PATH)/Android.midgard.mk
 include $(LOCAL_PATH)/Android.shared.mk
-include $(LOCAL_PATH)/Android.pandecode.mk
diff --git a/src/panfrost/Android.pandecode.mk b/src/panfrost/Android.pandecode.mk
deleted file mode 100644 (file)
index 6ddb914..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright © 2019 Collabora Ltd.
-#
-# 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.
-
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := libpanfrost_decode
-
-LOCAL_SRC_FILES := \
-       $(pandecode_FILES)
-
-LOCAL_C_INCLUDES := \
-       $(MESA_TOP)/src/gallium/auxiliary/ \
-       $(MESA_TOP)/src/gallium/include/ \
-       $(MESA_TOP)/src/panfrost/include/ \
-       $(MESA_TOP)/src/panfrost/lib/ \
-       $(MESA_TOP)/src/panfrost/pandecode/
-
-LOCAL_STATIC_LIBRARIES := \
-       libpanfrost_lib
-
-LOCAL_GENERATED_SOURCES := \
-
-LOCAL_EXPORT_C_INCLUDE_DIRS := \
-       $(MESA_TOP)/src/panfrost/pandecode/ \
-
-include $(MESA_COMMON_MK)
-include $(BUILD_STATIC_LIBRARY)
index 4c817dc1d58d2bb5b2baf022baa4ab8ff9d875b4..0eda6acfb06e0472c36ff38fc7096a52a5d9f8b8 100644 (file)
@@ -21,6 +21,8 @@ bifrost_FILES := \
         bifrost/disassemble.h
 
 lib_FILES := \
+        lib/decode_common.c \
+        lib/decode.c \
         lib/pan_afbc.c \
         lib/pan_attributes.c \
         lib/pan_bo.c \
@@ -78,14 +80,6 @@ shared_FILES := \
         shared/pan_minmax_cache.h \
         shared/pan_tiling.h \
 
-pandecode_FILES := \
-        pandecode/common.c \
-        pandecode/decode.c \
-        pandecode/decode.h \
-        pandecode/pan_pretty_print.c \
-        pandecode/pan_pretty_print.h \
-        pandecode/public.h
-
 util_FILES := \
         util/lcra.c \
         util/lcra.h \