Permalink
Browse files

Don't include the Themes directory in Android APKs

We already exclude the Resources folder. Let's do the same with Themes.
  • Loading branch information...
JosJuice committed Jun 3, 2018
1 parent fcae279 commit 2062768bb2e523f6cab46da0714df030ab1f335e
Showing with 4 additions and 1 deletion.
  1. +4 −1 Source/Android/jni/CMakeLists.txt
@@ -21,6 +21,9 @@ PRIVATE
file(MAKE_DIRECTORY ${CMAKE_SOURCE_DIR}/Source/Android/app/src/main/assets/)
file(REMOVE_RECURSE ${CMAKE_SOURCE_DIR}/Source/Android/app/src/main/assets/Sys/)
file(COPY ${CMAKE_SOURCE_DIR}/Data/Sys DESTINATION ${CMAKE_SOURCE_DIR}/Source/Android/app/src/main/assets/)
file(REMOVE_RECURSE ${CMAKE_SOURCE_DIR}/Source/Android/app/src/main/assets/Sys/Resources/) # not used on Android
# Delete folders that aren't used by the Android version of Dolphin
file(REMOVE_RECURSE ${CMAKE_SOURCE_DIR}/Source/Android/app/src/main/assets/Sys/Resources/)
file(REMOVE_RECURSE ${CMAKE_SOURCE_DIR}/Source/Android/app/src/main/assets/Sys/Themes/)
set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} main)

0 comments on commit 2062768

Please sign in to comment.