3 Star 0 Fork 0

alibaba/CicadaPlayer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.env 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/env bash
BUILD_TOOLS_DIR=$(cd $(dirname ${BASH_SOURCE[0]}); pwd)
PATH=$PATH:${BUILD_TOOLS_DIR}
USER=$(whoami)
UNAME=$(uname)
if [ "$UNAME" = "Darwin" ]
then
echo Darwin
USER_HOME=/Users/${USER}
export HOST=darwin
else
echo Linux
USER_HOME=/home/${USER}
export HOST=linux
fi
if [ -z "${ANDROID_SDK_HOME}" ];then
ANDROID_SDK_HOME=${USER_HOME}/android-env/android-sdk-linux
fi
export TOP_DIR=`pwd`
if [ -z "${ANDROID_NDK}" ];then
export ANDROID_NDK=${USER_HOME}/android-env/android-ndk-r14b
fi
PATH=$PATH:${ANDROID_NDK}:${ANDROID_NDK}/toolchains/arm-linux-androideabi-4.9/prebuilt/${HOST}-x86_64/bin
PATH=$PATH:${ANDROID_NDK}/toolchains/aarch64-linux-android-4.9/prebuilt/${HOST}-x86_64/bin
PATH=$PATH:${ANDROID_SDK_HOME}/platform-tools
export ANDROID_NDK_ROOT=${ANDROID_NDK}
export ANDROID_BUILD_DIR=`pwd`
export ANDROID_NDK_HOME=${ANDROID_NDK}
export NDK_ROOT=${ANDROID_NDK}
export VERSION=$MUPP_BUILD_ID
echo "VERSION is ${VERSION}"
#git config core.hooksPath ${TOP_DIR}/git_hooks
source build_player.sh
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_alibaba/CicadaPlayer.git
git@gitee.com:mirrors_alibaba/CicadaPlayer.git
mirrors_alibaba
CicadaPlayer
CicadaPlayer
release/0.4.4

搜索帮助

0d507c66 1850385 C8b1a773 1850385