mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-06 12:40:24 +00:00
Android: Build separate APKs for each native platform.
This commit is contained in:
parent
42cc48f929
commit
4710c3e0eb
@ -29,6 +29,7 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Define build types, which are orthogonal to product flavors.
|
||||||
buildTypes {
|
buildTypes {
|
||||||
// Signed by release key, allowing for upload to Play Store.
|
// Signed by release key, allowing for upload to Play Store.
|
||||||
release {
|
release {
|
||||||
@ -43,6 +44,35 @@ android {
|
|||||||
jniDebuggable true
|
jniDebuggable true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Define product flavors, which can be split into categories. Common examples
|
||||||
|
// of product flavors are paid vs. free, ARM vs. x86, etc.
|
||||||
|
productFlavors {
|
||||||
|
arm {
|
||||||
|
// This flavor is mutually exclusive against any flavor in the same dimension.
|
||||||
|
flavorDimension "abi"
|
||||||
|
|
||||||
|
// When building this flavor, only include native libs from the specified folder.
|
||||||
|
ndk {
|
||||||
|
abiFilter "armeabi-v7a"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
arm_64 {
|
||||||
|
flavorDimension "abi"
|
||||||
|
ndk {
|
||||||
|
abiFilter "arm64-v8a"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// TODO Uncomment this when we successfully build for x86_64.
|
||||||
|
/*x86_64 {
|
||||||
|
flavorDimension "abi"
|
||||||
|
ndk {
|
||||||
|
abiFilter "x86_64"
|
||||||
|
}
|
||||||
|
}*/
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
5
Source/Android/app/src/arm/res/values/strings.xml
Normal file
5
Source/Android/app/src/arm/res/values/strings.xml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<!-- Title of the app -->
|
||||||
|
<string name="title_new_ui">Dolphin ARM32</string>
|
||||||
|
</resources>
|
5
Source/Android/app/src/arm_64/res/values/strings.xml
Normal file
5
Source/Android/app/src/arm_64/res/values/strings.xml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<!-- Title of the app -->
|
||||||
|
<string name="title_new_ui">Dolphin ARM64</string>
|
||||||
|
</resources>
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".activities.GameGridActivity"
|
android:name=".activities.GameGridActivity"
|
||||||
android:label="Dolphin New UI"
|
android:label="@string/title_new_ui"
|
||||||
android:theme="@style/DolphinGamecube">
|
android:theme="@style/DolphinGamecube">
|
||||||
|
|
||||||
<!-- This intentfilter marks this Activity as the one that gets launched from Home screen. -->
|
<!-- This intentfilter marks this Activity as the one that gets launched from Home screen. -->
|
||||||
|
@ -220,6 +220,8 @@
|
|||||||
<string name="disabled">Disabled</string>
|
<string name="disabled">Disabled</string>
|
||||||
<string name="other">Other</string>
|
<string name="other">Other</string>
|
||||||
|
|
||||||
|
<!-- New UI Strings -->
|
||||||
|
<string name="title_new_ui">Dolphin New UI</string>
|
||||||
|
|
||||||
<string name="add_directory_title">Add Folder to Library</string>
|
<string name="add_directory_title">Add Folder to Library</string>
|
||||||
<string name="add_directory_up_one_level">Up one level</string>
|
<string name="add_directory_up_one_level">Up one level</string>
|
||||||
|
5
Source/Android/app/src/x86_64/res/values/strings.xml
Normal file
5
Source/Android/app/src/x86_64/res/values/strings.xml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<!-- Title of the app -->
|
||||||
|
<string name="title_new_ui">Dolphin ARM32</string>
|
||||||
|
</resources>
|
Loading…
x
Reference in New Issue
Block a user