blob: b0e8a885af60ed117f03f95107837351fd9f4306 [file] [log] [blame]
# Auto detect DB845c TARGET_OUT directory
# ". build/envsetup.sh; lunch db845c-userdebug" set the required variables
if [ ! -d "${ANDROID_PRODUCT_OUT}" ]; then
echo "Error in locating out/target/product/db845c directory, check if it exists"
exit
fi
mkdir -p lib64/egl
mkdir -p lib/egl
mkdir -p lib64/dri
mkdir -p lib/dri
mkdir -p lib64/hw
mkdir -p lib/hw
cp -P $ANDROID_PRODUCT_OUT/vendor/lib64/egl/* lib64/egl/
cp -P $ANDROID_PRODUCT_OUT/vendor/lib/egl/* lib/egl/
cp -P $ANDROID_PRODUCT_OUT/vendor/lib64/dri/libgallium_dri* lib64/dri/
cp -P $ANDROID_PRODUCT_OUT/vendor/lib/dri/libgallium_dri* lib/dri/
cp $ANDROID_PRODUCT_OUT/vendor/lib64/hw/vulkan.freedreno.so lib64/hw/
cp $ANDROID_PRODUCT_OUT/vendor/lib/hw/vulkan.freedreno.so lib/hw/
cp $ANDROID_PRODUCT_OUT/vendor/lib64/libglapi.so lib64/libglapi.so
cp $ANDROID_PRODUCT_OUT/vendor/lib/libglapi.so lib/libglapi.so