Skip to content

Commit

Permalink
Support APP_ICON, to be copied as app/src/main/res/drawable/ic_launch…
Browse files Browse the repository at this point in the history
…er.png.
  • Loading branch information
atsushieno committed Apr 25, 2024
1 parent 3966ba2 commit 93a33cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile.cmake-common
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ build-app-cmake:
echo "sdk.dir=$(HOME)/Android/Sdk" > local.properties ; \
fi ; \
fi
if [ -f $(APP_ICON) ] ; then \
mkdir -p $(ANDROID_DIR)/app/src/main/res/drawable ; \
cp $(APP_ICON) $(ANDROID_DIR)/app/src/main/res/drawable/ic_launcher.png ; \
fi
./gradlew $(GRADLE_TASK)
if [ $(MINIMIZE_INTERMEDIATES) ] ; then \
rm -rf $(ANDROID_DIR)/app/build/intermediates/ ; \
Expand Down

0 comments on commit 93a33cf

Please sign in to comment.