From 30f41c02aec763d32e62351452da9ef582bc3472 Mon Sep 17 00:00:00 2001
From: 3gg <3gg@shellblade.net>
Date: Fri, 6 Mar 2026 13:30:59 -0800
Subject: Move contrib libraries to contrib repo
---
.../test/android/cmake/AndroidManifest.xml.cmake | 74 -------------
.../android/cmake/SDLEntryTestActivity.java.cmake | 121 ---------------------
.../test/android/cmake/SDLTestActivity.java.cmake | 33 ------
.../android/cmake/res/values/strings.xml.cmake | 5 -
.../test/android/cmake/res/xml/shortcuts.xml.cmake | 24 ----
.../android/res/drawable/sdl-test_foreground.xml | 102 -----------------
.../test/android/res/layout/arguments_layout.xml | 26 -----
.../android/res/mipmap-anydpi-v26/sdl-test.xml | 5 -
.../res/mipmap-anydpi-v26/sdl-test_round.xml | 5 -
.../test/android/res/mipmap-hdpi/sdl-test.png | Bin 3041 -> 0 bytes
.../android/res/mipmap-hdpi/sdl-test_round.png | Bin 5292 -> 0 bytes
.../test/android/res/mipmap-mdpi/sdl-test.png | Bin 1881 -> 0 bytes
.../android/res/mipmap-mdpi/sdl-test_round.png | Bin 3150 -> 0 bytes
.../test/android/res/mipmap-xhdpi/sdl-test.png | Bin 4426 -> 0 bytes
.../android/res/mipmap-xhdpi/sdl-test_round.png | Bin 7789 -> 0 bytes
.../test/android/res/mipmap-xxhdpi/sdl-test.png | Bin 7389 -> 0 bytes
.../android/res/mipmap-xxhdpi/sdl-test_round.png | Bin 13232 -> 0 bytes
.../test/android/res/mipmap-xxxhdpi/sdl-test.png | Bin 11218 -> 0 bytes
.../android/res/mipmap-xxxhdpi/sdl-test_round.png | Bin 19626 -> 0 bytes
.../test/android/res/values/arg_strings.xml | 7 --
.../android/res/values/sdl-test_background.xml | 4 -
.../SDL-3.2.8/test/android/res/values/styles.xml | 7 --
22 files changed, 413 deletions(-)
delete mode 100644 contrib/SDL-3.2.8/test/android/cmake/AndroidManifest.xml.cmake
delete mode 100644 contrib/SDL-3.2.8/test/android/cmake/SDLEntryTestActivity.java.cmake
delete mode 100644 contrib/SDL-3.2.8/test/android/cmake/SDLTestActivity.java.cmake
delete mode 100644 contrib/SDL-3.2.8/test/android/cmake/res/values/strings.xml.cmake
delete mode 100644 contrib/SDL-3.2.8/test/android/cmake/res/xml/shortcuts.xml.cmake
delete mode 100644 contrib/SDL-3.2.8/test/android/res/drawable/sdl-test_foreground.xml
delete mode 100644 contrib/SDL-3.2.8/test/android/res/layout/arguments_layout.xml
delete mode 100644 contrib/SDL-3.2.8/test/android/res/mipmap-anydpi-v26/sdl-test.xml
delete mode 100644 contrib/SDL-3.2.8/test/android/res/mipmap-anydpi-v26/sdl-test_round.xml
delete mode 100644 contrib/SDL-3.2.8/test/android/res/mipmap-hdpi/sdl-test.png
delete mode 100644 contrib/SDL-3.2.8/test/android/res/mipmap-hdpi/sdl-test_round.png
delete mode 100644 contrib/SDL-3.2.8/test/android/res/mipmap-mdpi/sdl-test.png
delete mode 100644 contrib/SDL-3.2.8/test/android/res/mipmap-mdpi/sdl-test_round.png
delete mode 100644 contrib/SDL-3.2.8/test/android/res/mipmap-xhdpi/sdl-test.png
delete mode 100644 contrib/SDL-3.2.8/test/android/res/mipmap-xhdpi/sdl-test_round.png
delete mode 100644 contrib/SDL-3.2.8/test/android/res/mipmap-xxhdpi/sdl-test.png
delete mode 100644 contrib/SDL-3.2.8/test/android/res/mipmap-xxhdpi/sdl-test_round.png
delete mode 100644 contrib/SDL-3.2.8/test/android/res/mipmap-xxxhdpi/sdl-test.png
delete mode 100644 contrib/SDL-3.2.8/test/android/res/mipmap-xxxhdpi/sdl-test_round.png
delete mode 100644 contrib/SDL-3.2.8/test/android/res/values/arg_strings.xml
delete mode 100644 contrib/SDL-3.2.8/test/android/res/values/sdl-test_background.xml
delete mode 100644 contrib/SDL-3.2.8/test/android/res/values/styles.xml
(limited to 'contrib/SDL-3.2.8/test/android')
diff --git a/contrib/SDL-3.2.8/test/android/cmake/AndroidManifest.xml.cmake b/contrib/SDL-3.2.8/test/android/cmake/AndroidManifest.xml.cmake
deleted file mode 100644
index 06d87af..0000000
--- a/contrib/SDL-3.2.8/test/android/cmake/AndroidManifest.xml.cmake
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/contrib/SDL-3.2.8/test/android/cmake/SDLEntryTestActivity.java.cmake b/contrib/SDL-3.2.8/test/android/cmake/SDLEntryTestActivity.java.cmake
deleted file mode 100644
index f8d08f1..0000000
--- a/contrib/SDL-3.2.8/test/android/cmake/SDLEntryTestActivity.java.cmake
+++ /dev/null
@@ -1,121 +0,0 @@
-package @ANDROID_MANIFEST_PACKAGE@;
-
-import android.app.Activity;
-import android.app.AlertDialog;
-import android.content.Context;
-import android.content.DialogInterface;
-import android.content.Intent;
-import android.os.Bundle;
-import android.util.Log;
-
-import org.libsdl.app.SDL;
-import org.libsdl.app.SDLActivity;
-
-import android.widget.Button;
-import android.widget.EditText;
-import android.widget.TextView;
-
-import android.view.View;
-import android.view.ViewGroup;
-import android.view.LayoutInflater;
-
-public class SDLEntryTestActivity extends Activity {
-
- public String MODIFY_ARGUMENTS = "@ANDROID_MANIFEST_PACKAGE@.MODIFY_ARGUMENTS";
- boolean isModifyingArguments;
-
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- Log.v("SDL", "SDLEntryTestActivity onCreate");
- super.onCreate(savedInstanceState);
-
- String intent_action = getIntent().getAction();
- Log.v("SDL", "SDLEntryTestActivity intent.action = " + intent_action);
-
- if (intent_action == MODIFY_ARGUMENTS) {
- isModifyingArguments = true;
- createArgumentLayout();
- } else {
- startChildActivityAndFinish();
- }
- }
-
- protected void createArgumentLayout() {
- LayoutInflater inflater = getLayoutInflater();
- View view = inflater.inflate(R.layout.arguments_layout, null);
- setContentView(view);
-
- Button button = (Button)requireViewById(R.id.arguments_start_button);
- button.setOnClickListener(new View.OnClickListener() {
- public void onClick(View v) {
- startChildActivityAndFinish();
- }
- });
- }
-
- protected String[] getArguments() {
- if (!isModifyingArguments) {
- return new String[0];
- }
- EditText editText = (EditText)findViewById(R.id.arguments_edit);
- String text = editText.getText().toString();
- String new_text = text.replace("[ \t]*[ \t\n]+[ \t]+", "\n").strip();
- Log.v("SDL", "text = " + text + "\n becomes \n" + new_text);
- return new_text.split("\n", 0);
- }
-
- @Override
- protected void onStart() {
- Log.v("SDL", "SDLEntryTestActivity onStart");
- super.onStart();
- }
-
- @Override
- protected void onResume() {
- Log.v("SDL", "SDLEntryTestActivity onResume");
- super.onResume();
- }
-
- @Override
- protected void onPause() {
- Log.v("SDL", "SDLEntryTestActivity onPause");
- super.onPause();
- }
-
- @Override
- protected void onStop() {
- Log.v("SDL", "SDLEntryTestActivity onStop");
- super.onStop();
- }
-
- @Override
- protected void onDestroy() {
- Log.v("SDL", "SDLEntryTestActivity onDestroy");
- super.onDestroy();
- }
-
- @Override
- protected void onRestoreInstanceState(Bundle savedInstanceState) {
- Log.v("SDL", "SDLEntryTestActivity onRestoreInstanceState");
- super.onRestoreInstanceState(savedInstanceState);
- EditText editText = (EditText)findViewById(R.id.arguments_edit);
- editText.setText(savedInstanceState.getCharSequence("args", ""), TextView.BufferType.EDITABLE);
- }
-
- @Override
- protected void onSaveInstanceState(Bundle outState) {
- Log.v("SDL", "SDLEntryTestActivity onSaveInstanceState");
- EditText editText = (EditText)findViewById(R.id.arguments_edit);
- outState.putCharSequence("args", editText.getText());
- super.onSaveInstanceState(outState);
- }
-
- private void startChildActivityAndFinish() {
- Intent intent = new Intent(Intent.ACTION_MAIN);
- intent.addCategory(Intent.CATEGORY_LAUNCHER);
- intent.setClassName("@ANDROID_MANIFEST_PACKAGE@", "@ANDROID_MANIFEST_PACKAGE@.SDLTestActivity");
- intent.putExtra("arguments", getArguments());
- startActivity(intent);
- finish();
- }
-}
diff --git a/contrib/SDL-3.2.8/test/android/cmake/SDLTestActivity.java.cmake b/contrib/SDL-3.2.8/test/android/cmake/SDLTestActivity.java.cmake
deleted file mode 100644
index c43955d..0000000
--- a/contrib/SDL-3.2.8/test/android/cmake/SDLTestActivity.java.cmake
+++ /dev/null
@@ -1,33 +0,0 @@
-package @ANDROID_MANIFEST_PACKAGE@;
-
-import org.libsdl.app.SDLActivity;
-
-import android.os.Bundle;
-import android.util.Log;
-
-public class SDLTestActivity extends SDLActivity {
- private String[] m_arguments;
-
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- m_arguments = getIntent().getStringArrayExtra("arguments");
- if (m_arguments == null) {
- m_arguments = new String[0];
- }
- super.onCreate(savedInstanceState);
- }
-
- @Override
- protected String[] getLibraries() {
- return new String[] { getString(R.string.lib_name) };
- }
-
- @Override
- protected String[] getArguments() {
- Log.v("SDLTest", "#arguments = " + m_arguments.length);
- for(int i = 0; i < m_arguments.length; i++) {
- Log.v("SDLTest", "argument[" + i + "] = " + m_arguments[i]);
- }
- return m_arguments;
- }
-}
diff --git a/contrib/SDL-3.2.8/test/android/cmake/res/values/strings.xml.cmake b/contrib/SDL-3.2.8/test/android/cmake/res/values/strings.xml.cmake
deleted file mode 100644
index 871c17f..0000000
--- a/contrib/SDL-3.2.8/test/android/cmake/res/values/strings.xml.cmake
+++ /dev/null
@@ -1,5 +0,0 @@
-
- @ANDROID_MANIFEST_APP_NAME@
- @ANDROID_MANIFEST_LIB_NAME@
- @ANDROID_MANIFEST_LABEL@
-
diff --git a/contrib/SDL-3.2.8/test/android/cmake/res/xml/shortcuts.xml.cmake b/contrib/SDL-3.2.8/test/android/cmake/res/xml/shortcuts.xml.cmake
deleted file mode 100644
index a29a2de..0000000
--- a/contrib/SDL-3.2.8/test/android/cmake/res/xml/shortcuts.xml.cmake
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/contrib/SDL-3.2.8/test/android/res/drawable/sdl-test_foreground.xml b/contrib/SDL-3.2.8/test/android/res/drawable/sdl-test_foreground.xml
deleted file mode 100644
index f9f0ed2..0000000
--- a/contrib/SDL-3.2.8/test/android/res/drawable/sdl-test_foreground.xml
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/contrib/SDL-3.2.8/test/android/res/layout/arguments_layout.xml b/contrib/SDL-3.2.8/test/android/res/layout/arguments_layout.xml
deleted file mode 100644
index 30493af..0000000
--- a/contrib/SDL-3.2.8/test/android/res/layout/arguments_layout.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
diff --git a/contrib/SDL-3.2.8/test/android/res/mipmap-anydpi-v26/sdl-test.xml b/contrib/SDL-3.2.8/test/android/res/mipmap-anydpi-v26/sdl-test.xml
deleted file mode 100644
index 13bc8f0..0000000
--- a/contrib/SDL-3.2.8/test/android/res/mipmap-anydpi-v26/sdl-test.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/contrib/SDL-3.2.8/test/android/res/mipmap-anydpi-v26/sdl-test_round.xml b/contrib/SDL-3.2.8/test/android/res/mipmap-anydpi-v26/sdl-test_round.xml
deleted file mode 100644
index 13bc8f0..0000000
--- a/contrib/SDL-3.2.8/test/android/res/mipmap-anydpi-v26/sdl-test_round.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/contrib/SDL-3.2.8/test/android/res/mipmap-hdpi/sdl-test.png b/contrib/SDL-3.2.8/test/android/res/mipmap-hdpi/sdl-test.png
deleted file mode 100644
index 39e8f7c..0000000
Binary files a/contrib/SDL-3.2.8/test/android/res/mipmap-hdpi/sdl-test.png and /dev/null differ
diff --git a/contrib/SDL-3.2.8/test/android/res/mipmap-hdpi/sdl-test_round.png b/contrib/SDL-3.2.8/test/android/res/mipmap-hdpi/sdl-test_round.png
deleted file mode 100644
index 8f77eac..0000000
Binary files a/contrib/SDL-3.2.8/test/android/res/mipmap-hdpi/sdl-test_round.png and /dev/null differ
diff --git a/contrib/SDL-3.2.8/test/android/res/mipmap-mdpi/sdl-test.png b/contrib/SDL-3.2.8/test/android/res/mipmap-mdpi/sdl-test.png
deleted file mode 100644
index 06864ee..0000000
Binary files a/contrib/SDL-3.2.8/test/android/res/mipmap-mdpi/sdl-test.png and /dev/null differ
diff --git a/contrib/SDL-3.2.8/test/android/res/mipmap-mdpi/sdl-test_round.png b/contrib/SDL-3.2.8/test/android/res/mipmap-mdpi/sdl-test_round.png
deleted file mode 100644
index 1c38536..0000000
Binary files a/contrib/SDL-3.2.8/test/android/res/mipmap-mdpi/sdl-test_round.png and /dev/null differ
diff --git a/contrib/SDL-3.2.8/test/android/res/mipmap-xhdpi/sdl-test.png b/contrib/SDL-3.2.8/test/android/res/mipmap-xhdpi/sdl-test.png
deleted file mode 100644
index 9b16f17..0000000
Binary files a/contrib/SDL-3.2.8/test/android/res/mipmap-xhdpi/sdl-test.png and /dev/null differ
diff --git a/contrib/SDL-3.2.8/test/android/res/mipmap-xhdpi/sdl-test_round.png b/contrib/SDL-3.2.8/test/android/res/mipmap-xhdpi/sdl-test_round.png
deleted file mode 100644
index e64ff49..0000000
Binary files a/contrib/SDL-3.2.8/test/android/res/mipmap-xhdpi/sdl-test_round.png and /dev/null differ
diff --git a/contrib/SDL-3.2.8/test/android/res/mipmap-xxhdpi/sdl-test.png b/contrib/SDL-3.2.8/test/android/res/mipmap-xxhdpi/sdl-test.png
deleted file mode 100644
index cb7d977..0000000
Binary files a/contrib/SDL-3.2.8/test/android/res/mipmap-xxhdpi/sdl-test.png and /dev/null differ
diff --git a/contrib/SDL-3.2.8/test/android/res/mipmap-xxhdpi/sdl-test_round.png b/contrib/SDL-3.2.8/test/android/res/mipmap-xxhdpi/sdl-test_round.png
deleted file mode 100644
index 0eaa9ce..0000000
Binary files a/contrib/SDL-3.2.8/test/android/res/mipmap-xxhdpi/sdl-test_round.png and /dev/null differ
diff --git a/contrib/SDL-3.2.8/test/android/res/mipmap-xxxhdpi/sdl-test.png b/contrib/SDL-3.2.8/test/android/res/mipmap-xxxhdpi/sdl-test.png
deleted file mode 100644
index 3e0713f..0000000
Binary files a/contrib/SDL-3.2.8/test/android/res/mipmap-xxxhdpi/sdl-test.png and /dev/null differ
diff --git a/contrib/SDL-3.2.8/test/android/res/mipmap-xxxhdpi/sdl-test_round.png b/contrib/SDL-3.2.8/test/android/res/mipmap-xxxhdpi/sdl-test_round.png
deleted file mode 100644
index 2a74e6b..0000000
Binary files a/contrib/SDL-3.2.8/test/android/res/mipmap-xxxhdpi/sdl-test_round.png and /dev/null differ
diff --git a/contrib/SDL-3.2.8/test/android/res/values/arg_strings.xml b/contrib/SDL-3.2.8/test/android/res/values/arg_strings.xml
deleted file mode 100644
index ceee787..0000000
--- a/contrib/SDL-3.2.8/test/android/res/values/arg_strings.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
- Arguments
- One argument per line.\ne.g.\n--track-mem\n--windows\n3
- Start
- Modify arguments
- Pass through activity
-
diff --git a/contrib/SDL-3.2.8/test/android/res/values/sdl-test_background.xml b/contrib/SDL-3.2.8/test/android/res/values/sdl-test_background.xml
deleted file mode 100644
index a412274..0000000
--- a/contrib/SDL-3.2.8/test/android/res/values/sdl-test_background.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
- #FFFFFF
-
\ No newline at end of file
diff --git a/contrib/SDL-3.2.8/test/android/res/values/styles.xml b/contrib/SDL-3.2.8/test/android/res/values/styles.xml
deleted file mode 100644
index 7456b1b..0000000
--- a/contrib/SDL-3.2.8/test/android/res/values/styles.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
--
cgit v1.2.3