shared: Move Mesa Freedreno binaries to the shared repository

Moved it out of db845c soong_namespace so that it can be easily
imported by other device projects as well.

Change-Id: I84d6bdc76f289ead53c557d7101b7af59c425924
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
diff --git a/src/README b/src/README
index 6189274..4f2f39c 100644
--- a/src/README
+++ b/src/README
@@ -13,13 +13,18 @@
 ./linaro-vendor-package/
 └── src/
     ├── shared/
-    │   └── linux-firmware/
-    │       All but one (ath10k/WCN3390/hw1.0/board-2.bin) binaries are covered
-    │       under upstream licenses mentioned in WHENCE file.
-    │       https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git (f5d519563ac9)
-    │       ath10k/WCN3390/hw1.0/board-2.bin binary for db845c is picked from
-    │       linux-firmware.git fork:
-    │       https://github.com/andersson/linux-firmware/commit/e165604ca024
+    │   ├── linux-firmware/
+    │   │   All but one (ath10k/WCN3390/hw1.0/board-2.bin) binaries are covered
+    │   │   under upstream licenses mentioned in WHENCE file.
+    │   │   https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git (f5d519563ac9)
+    │   │   ath10k/WCN3390/hw1.0/board-2.bin binary for db845c is picked from
+    │   │   linux-firmware.git fork:
+    │   │   https://github.com/andersson/linux-firmware/commit/e165604ca024
+    │   │
+    │   └── mesa_prebuilt/
+    │       Upstream Mesa prebuiilt binaries (covered under original LICENSE) are built from
+    │       https://android.googlesource.com/platform/external/mesa3d/+/refs/tags/upstream-mesa-24.0.2
+    │
     ├── db845c/
     │   ├── dragonboard-845c-bootloader-ufs-aosp/
     │   │   Db845c bootloader/rescue package is covered under LICENSE file.
@@ -30,14 +35,11 @@
     │   │   QDL board recovery tool (covered under LICENSE) is built from
     │   │   https://git.linaro.org/landing-teams/working/qualcomm/qdl.git (760b3dffb03d)
     │   │
-    │   ├── mesa_prebuilt/
-    │   │   Upstream Mesa prebuiilt binaries (covered under original LICENSE) are built from
-    │   │   https://android.googlesource.com/platform/external/mesa3d/+/refs/tags/upstream-mesa-24.0.2
-    │   │
     │   └── RB3_firmware_20190529180356-v4/
     │       These binaries are covered under LICENSE.qcom.txt
     │       The package can be downloaded from
     │       http://releases.linaro.org/96boards/dragonboard845c/qualcomm/firmware/RB3_firmware_20190529180356-v4.zip
+    │
     └── rb5/
         ├── qdl/
         │   QDL board recovery tool (covered under LICENSE) is built from
diff --git a/src/db845c/mesa_prebuilt/Android.mk b/src/shared/mesa_prebuilt/Android.mk
similarity index 100%
rename from src/db845c/mesa_prebuilt/Android.mk
rename to src/shared/mesa_prebuilt/Android.mk
diff --git a/src/db845c/mesa_prebuilt/LICENSE b/src/shared/mesa_prebuilt/LICENSE
similarity index 100%
rename from src/db845c/mesa_prebuilt/LICENSE
rename to src/shared/mesa_prebuilt/LICENSE
diff --git a/src/db845c/mesa_prebuilt/README_UpdateMesaPrebuilts b/src/shared/mesa_prebuilt/README_UpdateMesaPrebuilts
similarity index 100%
rename from src/db845c/mesa_prebuilt/README_UpdateMesaPrebuilts
rename to src/shared/mesa_prebuilt/README_UpdateMesaPrebuilts
diff --git a/src/db845c/mesa_prebuilt/copy_bins.sh b/src/shared/mesa_prebuilt/copy_bins.sh
similarity index 100%
rename from src/db845c/mesa_prebuilt/copy_bins.sh
rename to src/shared/mesa_prebuilt/copy_bins.sh
diff --git a/src/db845c/mesa_prebuilt/lib/dri/libgallium_dri.so b/src/shared/mesa_prebuilt/lib/dri/libgallium_dri.so
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib/dri/libgallium_dri.so
rename to src/shared/mesa_prebuilt/lib/dri/libgallium_dri.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib/dri/libgallium_dri.so.0 b/src/shared/mesa_prebuilt/lib/dri/libgallium_dri.so.0
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib/dri/libgallium_dri.so.0
rename to src/shared/mesa_prebuilt/lib/dri/libgallium_dri.so.0
diff --git a/src/db845c/mesa_prebuilt/lib/egl/libEGL_mesa.so b/src/shared/mesa_prebuilt/lib/egl/libEGL_mesa.so
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib/egl/libEGL_mesa.so
rename to src/shared/mesa_prebuilt/lib/egl/libEGL_mesa.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib/egl/libEGL_mesa.so.1 b/src/shared/mesa_prebuilt/lib/egl/libEGL_mesa.so.1
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib/egl/libEGL_mesa.so.1
rename to src/shared/mesa_prebuilt/lib/egl/libEGL_mesa.so.1
diff --git a/src/db845c/mesa_prebuilt/lib/egl/libGLESv1_CM_mesa.so b/src/shared/mesa_prebuilt/lib/egl/libGLESv1_CM_mesa.so
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib/egl/libGLESv1_CM_mesa.so
rename to src/shared/mesa_prebuilt/lib/egl/libGLESv1_CM_mesa.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib/egl/libGLESv1_CM_mesa.so.1 b/src/shared/mesa_prebuilt/lib/egl/libGLESv1_CM_mesa.so.1
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib/egl/libGLESv1_CM_mesa.so.1
rename to src/shared/mesa_prebuilt/lib/egl/libGLESv1_CM_mesa.so.1
diff --git a/src/db845c/mesa_prebuilt/lib/egl/libGLESv2_mesa.so b/src/shared/mesa_prebuilt/lib/egl/libGLESv2_mesa.so
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib/egl/libGLESv2_mesa.so
rename to src/shared/mesa_prebuilt/lib/egl/libGLESv2_mesa.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib/egl/libGLESv2_mesa.so.2 b/src/shared/mesa_prebuilt/lib/egl/libGLESv2_mesa.so.2
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib/egl/libGLESv2_mesa.so.2
rename to src/shared/mesa_prebuilt/lib/egl/libGLESv2_mesa.so.2
diff --git a/src/db845c/mesa_prebuilt/lib/hw/vulkan.freedreno.so b/src/shared/mesa_prebuilt/lib/hw/vulkan.freedreno.so
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib/hw/vulkan.freedreno.so
rename to src/shared/mesa_prebuilt/lib/hw/vulkan.freedreno.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib/libglapi.so b/src/shared/mesa_prebuilt/lib/libglapi.so
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib/libglapi.so
rename to src/shared/mesa_prebuilt/lib/libglapi.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/libgallium_dri.so b/src/shared/mesa_prebuilt/lib64/dri/libgallium_dri.so
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib64/dri/libgallium_dri.so
rename to src/shared/mesa_prebuilt/lib64/dri/libgallium_dri.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/libgallium_dri.so.0 b/src/shared/mesa_prebuilt/lib64/dri/libgallium_dri.so.0
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib64/dri/libgallium_dri.so.0
rename to src/shared/mesa_prebuilt/lib64/dri/libgallium_dri.so.0
diff --git a/src/db845c/mesa_prebuilt/lib64/egl/libEGL_mesa.so b/src/shared/mesa_prebuilt/lib64/egl/libEGL_mesa.so
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib64/egl/libEGL_mesa.so
rename to src/shared/mesa_prebuilt/lib64/egl/libEGL_mesa.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib64/egl/libEGL_mesa.so.1 b/src/shared/mesa_prebuilt/lib64/egl/libEGL_mesa.so.1
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib64/egl/libEGL_mesa.so.1
rename to src/shared/mesa_prebuilt/lib64/egl/libEGL_mesa.so.1
diff --git a/src/db845c/mesa_prebuilt/lib64/egl/libGLESv1_CM_mesa.so b/src/shared/mesa_prebuilt/lib64/egl/libGLESv1_CM_mesa.so
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib64/egl/libGLESv1_CM_mesa.so
rename to src/shared/mesa_prebuilt/lib64/egl/libGLESv1_CM_mesa.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib64/egl/libGLESv1_CM_mesa.so.1 b/src/shared/mesa_prebuilt/lib64/egl/libGLESv1_CM_mesa.so.1
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib64/egl/libGLESv1_CM_mesa.so.1
rename to src/shared/mesa_prebuilt/lib64/egl/libGLESv1_CM_mesa.so.1
diff --git a/src/db845c/mesa_prebuilt/lib64/egl/libGLESv2_mesa.so b/src/shared/mesa_prebuilt/lib64/egl/libGLESv2_mesa.so
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib64/egl/libGLESv2_mesa.so
rename to src/shared/mesa_prebuilt/lib64/egl/libGLESv2_mesa.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib64/egl/libGLESv2_mesa.so.2 b/src/shared/mesa_prebuilt/lib64/egl/libGLESv2_mesa.so.2
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib64/egl/libGLESv2_mesa.so.2
rename to src/shared/mesa_prebuilt/lib64/egl/libGLESv2_mesa.so.2
diff --git a/src/db845c/mesa_prebuilt/lib64/hw/vulkan.freedreno.so b/src/shared/mesa_prebuilt/lib64/hw/vulkan.freedreno.so
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib64/hw/vulkan.freedreno.so
rename to src/shared/mesa_prebuilt/lib64/hw/vulkan.freedreno.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib64/libglapi.so b/src/shared/mesa_prebuilt/lib64/libglapi.so
similarity index 100%
rename from src/db845c/mesa_prebuilt/lib64/libglapi.so
rename to src/shared/mesa_prebuilt/lib64/libglapi.so
Binary files differ