summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2018-06-03 11:11:24 +0200
committerJosJuice <josjuice@gmail.com>2018-06-03 11:11:24 +0200
commit2062768bb2e523f6cab46da0714df030ab1f335e (patch)
treed2944ca4355acac23e6f1b161be4fb2e75cb6c51 /Source
parentfcae27981acce6f1ccbc0cfa5163416385830c5e (diff)
Don't include the Themes directory in Android APKs
We already exclude the Resources folder. Let's do the same with Themes.
Diffstat (limited to 'Source')
-rw-r--r--Source/Android/jni/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Android/jni/CMakeLists.txt b/Source/Android/jni/CMakeLists.txt
index c4aa7dc777..69b383019b 100644
--- a/Source/Android/jni/CMakeLists.txt
+++ b/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)