1#!/bin/bash 2adb root 3adb remount 4 5#BASE_PATH=/system 6BASE_PATH=/vendor 7#BASE_PATH=/oem/usr 8 9BIN_PATH=${BASE_PATH}/bin/ 10LIB_PATH=${BASE_PATH}/lib/ 11 12push_file() { 13 if [ -f $1 ]; then 14 adb push $1 $2 15 fi 16} 17 18push_file ./mpp/libmpp.so ${LIB_PATH} 19push_file ./mpp/legacy/libvpu.so ${LIB_PATH} 20push_file ./test/mpi_dec_test ${BIN_PATH} 21push_file ./test/mpi_enc_test ${BIN_PATH} 22push_file ./test/vpu_api_test ${BIN_PATH} 23push_file ./test/mpp_info_test ${BIN_PATH} 24