Amit Pundir | ad3daa8 | 2022-11-25 12:52:46 +0530 | [diff] [blame^] | 1 | # Auto detect DB845c TARGET_OUT directory |
| 2 | # ". build/envsetup.sh; lunch db845c-userdebug" set the required variables |
| 3 | if [ ! -d "${ANDROID_PRODUCT_OUT}" ]; then |
| 4 | echo "Error in locating out/target/product/db845c directory, check if it exists" |
| 5 | exit |
| 6 | fi |
John Stultz | 7d03cf5 | 2022-02-25 20:48:33 +0000 | [diff] [blame] | 7 | |
| 8 | mkdir -p lib64/egl |
| 9 | mkdir -p lib/egl |
| 10 | mkdir -p lib64/dri |
| 11 | mkdir -p lib/dri |
| 12 | mkdir -p lib64/hw |
| 13 | mkdir -p lib/hw |
| 14 | |
Amit Pundir | ad3daa8 | 2022-11-25 12:52:46 +0530 | [diff] [blame^] | 15 | cp -P $ANDROID_PRODUCT_OUT/vendor/lib64/egl/* lib64/egl/ |
| 16 | cp -P $ANDROID_PRODUCT_OUT/vendor/lib/egl/* lib/egl/ |
| 17 | cp -P $ANDROID_PRODUCT_OUT/vendor/lib64/dri/* lib64/dri/ |
| 18 | cp -P $ANDROID_PRODUCT_OUT/vendor/lib/dri/* lib/dri/ |
John Stultz | 7d03cf5 | 2022-02-25 20:48:33 +0000 | [diff] [blame] | 19 | |
Amit Pundir | ad3daa8 | 2022-11-25 12:52:46 +0530 | [diff] [blame^] | 20 | cp $ANDROID_PRODUCT_OUT/vendor/lib64/hw/vulkan.freedreno.so lib64/hw/ |
| 21 | cp $ANDROID_PRODUCT_OUT/vendor/lib/hw/vulkan.freedreno.so lib/hw/ |
John Stultz | 7d03cf5 | 2022-02-25 20:48:33 +0000 | [diff] [blame] | 22 | |
Amit Pundir | ad3daa8 | 2022-11-25 12:52:46 +0530 | [diff] [blame^] | 23 | cp $ANDROID_PRODUCT_OUT/vendor/lib64/libglapi.so lib64/libglapi.so |
| 24 | cp $ANDROID_PRODUCT_OUT/vendor/lib/libglapi.so lib/libglapi.so |
John Stultz | 7d03cf5 | 2022-02-25 20:48:33 +0000 | [diff] [blame] | 25 | |