diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2024-05-03 10:28:01 +0100 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2024-05-06 11:29:14 +0100 |
commit | 5deb0b024e14c7c63d405c651d1ca323560a1c21 (patch) | |
tree | 649bdd3d163fe5e2fe4a6147ed3343dbdba6735f /src/qt | |
parent | 00ac1b963d08f2779d2197edcdb1e76392993378 (diff) |
build, test, doc: Temporarily remove Android-related stuff
Previously, our Android builds were geared towards generating APKs,
which relied on Qt. However, after migrating to C++20, compiling for
Android became unfeasible due to Qt 5.15's compatibility limitations
with NDK only up to r25, which includes an outdated embedded libc++.
All removed stuff will be reinstated after migrating the build system to
CMake and upgrading Qt to version 6.x."
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/android/.gitignore | 7 | ||||
-rw-r--r-- | src/qt/android/AndroidManifest.xml | 39 | ||||
-rw-r--r-- | src/qt/android/build.gradle | 52 | ||||
-rw-r--r-- | src/qt/android/gradle.properties | 4 | ||||
-rw-r--r-- | src/qt/android/res/drawable-hdpi/bitcoin.png | bin | 4536 -> 0 bytes | |||
-rw-r--r-- | src/qt/android/res/drawable-ldpi/bitcoin.png | bin | 1697 -> 0 bytes | |||
-rw-r--r-- | src/qt/android/res/drawable-mdpi/bitcoin.png | bin | 2558 -> 0 bytes | |||
-rw-r--r-- | src/qt/android/res/drawable-xhdpi/bitcoin.png | bin | 6832 -> 0 bytes | |||
-rw-r--r-- | src/qt/android/res/drawable-xxhdpi/bitcoin.png | bin | 11479 -> 0 bytes | |||
-rw-r--r-- | src/qt/android/res/drawable-xxxhdpi/bitcoin.png | bin | 17034 -> 0 bytes | |||
-rw-r--r-- | src/qt/android/res/values/libs.xml | 14 | ||||
-rw-r--r-- | src/qt/android/src/org/bitcoincore/qt/BitcoinQtActivity.java | 23 |
12 files changed, 0 insertions, 139 deletions
diff --git a/src/qt/android/.gitignore b/src/qt/android/.gitignore deleted file mode 100644 index c090a2e98e..0000000000 --- a/src/qt/android/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/.gradle -/build -/gradle -/gradlew* -/libs -/src/org/kde -/src/org/qtproject diff --git a/src/qt/android/AndroidManifest.xml b/src/qt/android/AndroidManifest.xml deleted file mode 100644 index 41615294e0..0000000000 --- a/src/qt/android/AndroidManifest.xml +++ /dev/null @@ -1,39 +0,0 @@ -<?xml version='1.0' encoding='utf-8'?> -<manifest package="org.bitcoincore.qt" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0" android:versionCode="1" android:installLocation="auto"> - <uses-sdk android:targetSdkVersion="24"/> - - <uses-permission android:name="android.permission.INTERNET" /> - <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> - <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> - - <uses-feature android:glEsVersion="0x00020000" android:required="true" /> - - <supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/> - - <application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="Bitcoin Core"> - <activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density" - android:name="org.bitcoincore.qt.BitcoinQtActivity" - android:label="Bitcoin Core" - android:icon="@drawable/bitcoin" - android:screenOrientation="unspecified" - android:launchMode="singleTop"> - <intent-filter> - <action android:name="android.intent.action.MAIN"/> - <category android:name="android.intent.category.LAUNCHER"/> - </intent-filter> - - <meta-data android:name="android.app.arguments" android:value="-testnet"/> - <meta-data android:name="android.app.lib_name" android:value="bitcoin-qt"/> - <meta-data android:name="android.app.repository" android:value="default"/> - <meta-data android:name="android.app.bundle_local_qt_libs" android:value="1"/> - <meta-data android:name="android.app.use_local_qt_libs" android:value="1"/> - <meta-data android:name="android.app.libs_prefix" android:value="/data/local/tmp/qt/"/> - <meta-data android:name="android.app.system_libs_prefix" android:value="/system/lib/"/> - <meta-data android:name="android.app.background_running" android:value="true"/> - <meta-data android:name="android.app.auto_screen_scale_factor" android:value="true"/> - <meta-data android:name="android.app.extract_android_style" android:value="default"/> - <meta-data android:name="android.app.load_local_libs_resource_id" android:resource="@array/load_local_libs"/> - </activity> - - </application> -</manifest> diff --git a/src/qt/android/build.gradle b/src/qt/android/build.gradle deleted file mode 100644 index 4c36e79db8..0000000000 --- a/src/qt/android/build.gradle +++ /dev/null @@ -1,52 +0,0 @@ -buildscript { - repositories { - google() - jcenter() - } - - dependencies { - classpath 'com.android.tools.build:gradle:3.1.0' - } -} - -repositories { - google() - jcenter() -} - -apply plugin: 'com.android.application' - -dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar']) -} - -android { - compileSdkVersion androidCompileSdkVersion.toInteger() - - buildToolsVersion androidBuildToolsVersion - - sourceSets { - main { - manifest.srcFile 'AndroidManifest.xml' - java.srcDirs = [qt5AndroidDir + '/src', 'src', 'java'] - aidl.srcDirs = [qt5AndroidDir + '/src', 'src', 'aidl'] - res.srcDirs = [qt5AndroidDir + '/res', 'res'] - resources.srcDirs = ['src'] - renderscript.srcDirs = ['src'] - assets.srcDirs = ['assets'] - jniLibs.srcDirs = ['libs'] - } - } - - lintOptions { - abortOnError false - } - - dexOptions { - javaMaxHeapSize '4g' - } - - defaultConfig { - minSdkVersion 24 - } -} diff --git a/src/qt/android/gradle.properties b/src/qt/android/gradle.properties deleted file mode 100644 index 468f4757c0..0000000000 --- a/src/qt/android/gradle.properties +++ /dev/null @@ -1,4 +0,0 @@ -androidBuildToolsVersion=30.0.3 -androidCompileSdkVersion=30 -qt5AndroidDir=new File(".").absolutePath -org.gradle.jvmargs=-Xmx4608M diff --git a/src/qt/android/res/drawable-hdpi/bitcoin.png b/src/qt/android/res/drawable-hdpi/bitcoin.png Binary files differdeleted file mode 100644 index 31a556a35f..0000000000 --- a/src/qt/android/res/drawable-hdpi/bitcoin.png +++ /dev/null diff --git a/src/qt/android/res/drawable-ldpi/bitcoin.png b/src/qt/android/res/drawable-ldpi/bitcoin.png Binary files differdeleted file mode 100644 index 76d80d4196..0000000000 --- a/src/qt/android/res/drawable-ldpi/bitcoin.png +++ /dev/null diff --git a/src/qt/android/res/drawable-mdpi/bitcoin.png b/src/qt/android/res/drawable-mdpi/bitcoin.png Binary files differdeleted file mode 100644 index c2aeab851a..0000000000 --- a/src/qt/android/res/drawable-mdpi/bitcoin.png +++ /dev/null diff --git a/src/qt/android/res/drawable-xhdpi/bitcoin.png b/src/qt/android/res/drawable-xhdpi/bitcoin.png Binary files differdeleted file mode 100644 index 2bd5e3defc..0000000000 --- a/src/qt/android/res/drawable-xhdpi/bitcoin.png +++ /dev/null diff --git a/src/qt/android/res/drawable-xxhdpi/bitcoin.png b/src/qt/android/res/drawable-xxhdpi/bitcoin.png Binary files differdeleted file mode 100644 index d236cf2132..0000000000 --- a/src/qt/android/res/drawable-xxhdpi/bitcoin.png +++ /dev/null diff --git a/src/qt/android/res/drawable-xxxhdpi/bitcoin.png b/src/qt/android/res/drawable-xxxhdpi/bitcoin.png Binary files differdeleted file mode 100644 index bb1dbc3554..0000000000 --- a/src/qt/android/res/drawable-xxxhdpi/bitcoin.png +++ /dev/null diff --git a/src/qt/android/res/values/libs.xml b/src/qt/android/res/values/libs.xml deleted file mode 100644 index b4b77b1c7b..0000000000 --- a/src/qt/android/res/values/libs.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <array name="load_local_libs"> - <item> - arm64-v8a;libbitcoin-qt_arm64-v8a.so - </item> - <item> - armeabi-v7a;libbitcoin-qt_armeabi-v7a.so - </item> - <item> - x86_64;libbitcoin-qt_x86_64.so - </item> - </array> -</resources> diff --git a/src/qt/android/src/org/bitcoincore/qt/BitcoinQtActivity.java b/src/qt/android/src/org/bitcoincore/qt/BitcoinQtActivity.java deleted file mode 100644 index 2cba489242..0000000000 --- a/src/qt/android/src/org/bitcoincore/qt/BitcoinQtActivity.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.bitcoincore.qt; - -import android.os.Bundle; -import android.system.ErrnoException; -import android.system.Os; - -import org.qtproject.qt5.android.bindings.QtActivity; - -import java.io.File; - -public class BitcoinQtActivity extends QtActivity -{ - @Override - public void onCreate(Bundle savedInstanceState) - { - final File bitcoinDir = new File(getFilesDir().getAbsolutePath() + "/.bitcoin"); - if (!bitcoinDir.exists()) { - bitcoinDir.mkdir(); - } - - super.onCreate(savedInstanceState); - } -} |