Permalink
Browse files

Merge pull request #7054 from JosJuice/android-no-themes

Don't include the Themes directory in Android APKs
  • Loading branch information...
leoetlino committed Jun 3, 2018
2 parents 0f7370a + 2062768 commit a2b2a31e644b36bff6d5c843b3cadbe1f5d9704f
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 a2b2a31

Please sign in to comment.