1 Star 0 Fork 0

zyuyou/android

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
get_aosp_changes.sh 1.00 KB
一键复制 编辑 原始数据 按行查看 历史
#!/bin/sh
# The script accepts one parameter, which can be "init", "start" or "finish"
# Before first use run the script with "init" parameter
# To get the changes from AOSP repository do following:
# 1. Run the script with "start" parameter
# 2. Perform "pull" from AOSP remote for "android" and "tools-base" repositories using IntelliJ IDEA,
# resolve all conflicts, commit, check that everything is compiled correctly and the tests are passed
# 3. Run the script with "finish" parameter
if [ "$1" = "init" ]; then
git remote add AOSP https://android.googlesource.com/platform/tools/adt/idea
cd tools-base
git remote add AOSP https://android.googlesource.com/platform/tools/base
elif [ "$1" = "start" ]; then
git branch -d android-tmp
git checkout -b android-tmp
cd tools-base
git branch -d android-tmp
git checkout -b android-tmp
elif [ "$1" = "finish" ]; then
git checkout master
git merge android-tmp
cd tools-base
git checkout master
git merge android-tmp
else
echo 'Unknown parameter'
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zyuyou/android.git
[email protected]:zyuyou/android.git
zyuyou
android
android
master

搜索帮助