diff options
author | Alex Zolotarev <alex@mapswithme.com> | 2014-10-21 03:09:59 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:27:46 +0300 |
commit | 76fa559164f18a001a68b1c8a60847e6dd05494b (patch) | |
tree | df96e2a1c7514de85af186c2612ca7a297e6e807 /tools/android | |
parent | a31c59f6d19bb5fbf15fba475f6858d7fbfa5c44 (diff) |
[android] APKs with fonts and mwm for Samsung and Amazon
Diffstat (limited to 'tools/android')
-rwxr-xr-x | tools/android/update_assets.sh | 2 | ||||
-rwxr-xr-x | tools/android/update_assets_yota.sh | 1 | ||||
-rwxr-xr-x | tools/android/update_flags.sh | 28 |
3 files changed, 1 insertions, 30 deletions
diff --git a/tools/android/update_assets.sh b/tools/android/update_assets.sh index 8fbc83eaca..6436bc8151 100755 --- a/tools/android/update_assets.sh +++ b/tools/android/update_assets.sh @@ -1,2 +1,2 @@ ./update_assets_for_version.sh ../../android/assets -./update_flags.sh +./add_assets_mwm-ttf.sh ../../android/flavors/mwm-ttf-assets diff --git a/tools/android/update_assets_yota.sh b/tools/android/update_assets_yota.sh index 8b2d90880e..ce3109a750 100755 --- a/tools/android/update_assets_yota.sh +++ b/tools/android/update_assets_yota.sh @@ -17,4 +17,3 @@ rm -rf $DST/resources-xhdpi rm -rf $DST/resources-xxhdpi ln -s $SRC/resources-yota $DST/resources-mdpi -./update_flags.sh diff --git a/tools/android/update_flags.sh b/tools/android/update_flags.sh deleted file mode 100755 index e78939ebb9..0000000000 --- a/tools/android/update_flags.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash -set -x -u - -SRC=../../data/flags -DST=../../android/res - -# *@2x.png -sobakaPos=7 - -for file in $SRC/*.png; -do - filename=$(basename "$file") - - if [[ "$file" == *\@2x.png ]]; then - strLen=${#filename} - prefixName=${filename:0:`expr $strLen - $sobakaPos`} - - rm "$DST/drawable-xhdpi/${prefixName}.png" - ln -s "../$SRC/$filename" "$DST/drawable-xhdpi/${prefixName}.png" - else - rm "$DST/drawable-mdpi/$filename" - ln -s "../$SRC/$filename" "$DST/drawable-mdpi/$filename" - fi -done - -# rename do.png because of aapt - it doesn't support resource name "do" -mv "$DST/drawable-xhdpi/do.png" "$DST/drawable-xhdpi/do_hack.png" -mv "$DST/drawable-mdpi/do.png" "$DST/drawable-mdpi/do_hack.png"
\ No newline at end of file |