Android: rename android JNI from main to citra-android

master
SachinVin 2022-04-18 13:10:25 +07:00
parent c800a9e44c
commit 9c695c8324
3 changed files with 6 additions and 6 deletions

@ -120,7 +120,7 @@ endif()
if (ANDROID)
add_subdirectory(android/app/src/main/jni)
target_include_directories(main PRIVATE android/app/src/main)
target_include_directories(citra-android PRIVATE android/app/src/main)
else()
add_subdirectory(dedicated_room)
endif()

@ -60,7 +60,7 @@ public final class NativeLibrary {
static {
try {
System.loadLibrary("main");
System.loadLibrary("citra-android");
} catch (UnsatisfiedLinkError ex) {
Log.error("[NativeLibrary] " + ex.toString());
}

@ -1,4 +1,4 @@
add_library(main SHARED
add_library(citra-android SHARED
applets/mii_selector.cpp
applets/mii_selector.h
applets/swkbd.cpp
@ -28,7 +28,7 @@ add_library(main SHARED
ndk_motion.h
)
target_link_libraries(main PRIVATE audio_core common core input_common network)
target_link_libraries(main PRIVATE android camera2ndk mediandk jnigraphics EGL glad inih log yuv)
target_link_libraries(citra-android PRIVATE audio_core common core input_common network)
target_link_libraries(citra-android PRIVATE android camera2ndk mediandk jnigraphics EGL glad inih log yuv)
set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} main)
set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} citra-android)