blob: 38d6fe892924625d22ec0f534e3da22ad12c9937 [file] [log] [blame]
Amit Pundirad3daa82022-11-25 12:52:46 +05301# Auto detect DB845c TARGET_OUT directory
2# ". build/envsetup.sh; lunch db845c-userdebug" set the required variables
3if [ ! -d "${ANDROID_PRODUCT_OUT}" ]; then
4 echo "Error in locating out/target/product/db845c directory, check if it exists"
5 exit
6fi
John Stultz7d03cf52022-02-25 20:48:33 +00007
8mkdir -p lib64/egl
9mkdir -p lib/egl
10mkdir -p lib64/dri
11mkdir -p lib/dri
12mkdir -p lib64/hw
13mkdir -p lib/hw
14
Amit Pundirad3daa82022-11-25 12:52:46 +053015cp -P $ANDROID_PRODUCT_OUT/vendor/lib64/egl/* lib64/egl/
16cp -P $ANDROID_PRODUCT_OUT/vendor/lib/egl/* lib/egl/
17cp -P $ANDROID_PRODUCT_OUT/vendor/lib64/dri/* lib64/dri/
18cp -P $ANDROID_PRODUCT_OUT/vendor/lib/dri/* lib/dri/
John Stultz7d03cf52022-02-25 20:48:33 +000019
Amit Pundirad3daa82022-11-25 12:52:46 +053020cp $ANDROID_PRODUCT_OUT/vendor/lib64/hw/vulkan.freedreno.so lib64/hw/
21cp $ANDROID_PRODUCT_OUT/vendor/lib/hw/vulkan.freedreno.so lib/hw/
John Stultz7d03cf52022-02-25 20:48:33 +000022
Amit Pundirad3daa82022-11-25 12:52:46 +053023cp $ANDROID_PRODUCT_OUT/vendor/lib64/libglapi.so lib64/libglapi.so
24cp $ANDROID_PRODUCT_OUT/vendor/lib/libglapi.so lib/libglapi.so
John Stultz7d03cf52022-02-25 20:48:33 +000025