Skip to content
Permalink
Browse files

define LineageOS and AICP

  • Loading branch information
lindwurm committed Jan 6, 2017
1 parent 93f0817 commit ded865d4f154293d6bbe919e843c027c8f2bece7
Showing with 12 additions and 13 deletions.
  1. +12 −13 build.sh
@@ -56,19 +56,18 @@ source build/envsetup.sh
breakfast $device

# ディレクトリ名からツイート用のROM情報の設定をする
if [ $builddir = cm13 ]; then
source="CyanogenMod 13.0"
short="CM13"
zipname="cm-$(get_build_var CM_VERSION)"
newzipname="cm-$(get_build_var PRODUCT_VERSION_MAJOR).$(get_build_var PRODUCT_VERSION_MINOR)-${filetime}-$(CM_BUILDTYPE)-$(get_build_var CM_BUILD)"

elif [ $builddir = rr ]; then
vernum=$(get_build_var PRODUCT_VERSION)
source="ResurrectionRemix v${vernum}"
short="RR v${vernum}"
zipname="$(get_build_var CM_VERSION)"
newzipname="ResurrectionRemix-M-v$(get_build_var PRODUCT_VERSION)-${filetime}-$(get_build_var CM_BUILD)"

if [ $builddir = lineage ]; then
vernum="$(get_build_var PRODUCT_VERSION_MAJOR).$(get_build_var PRODUCT_VERSION_MINOR)"
source="LineageOS ${vernum}"
short="${source}"
zipname="lineage-$(get_build_var LINEAGE_VERSION)"
newzipname="lineage-${vernum}-${filetime}-$(get_build_var CM_BUILDTYPE)-$(get_build_var CM_BUILD)"
elif [ $builddir = aicp ]; then
vernum="$(get_build_var AICP_BRANCH)-$(get_build_var VERSION)"
source="AICP-${vernum}"
short="${source}"
zipname="$(get_build_var AICP_VERSION)"
newzipname="aicp_${device}_${vernum}-$(get_build_var AICP_BUILDTYPE)-${filetime}"
else
# 一応対処するけど他ROMについては上記を参考にちゃんと書いてもらわないと後がめんどい
source=$builddir

0 comments on commit ded865d

Please sign in to comment.
You can’t perform that action at this time.