From da4a9bf216d4f6fd44767e3a121d6eabc5fd968a Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Fri, 22 Mar 2024 19:37:29 +0000 Subject: [PATCH] chore: initialise fork Former-commit-id: 5065b2cb02b02093c42e21dedd7983d19a62232d Former-commit-id: f92b7f776b8e260643de1d6fa1040f426137b4e1 --- Cargo.toml | 6 ++---- Dockerfile.android | 34 ---------------------------------- 2 files changed, 2 insertions(+), 38 deletions(-) delete mode 100644 Dockerfile.android diff --git a/Cargo.toml b/Cargo.toml index 7394b02..8520793 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,6 @@ members = [ "utils", "platform/rustboyadvance-sdl2", "platform/rustboyadvance-libretro", - # "platform/rustboyadvance-minifb", - DEPRECATED "platform/rustboyadvance-wasm", "platform/rustboyadvance-jni", "fps_bench" @@ -13,13 +12,12 @@ members = [ default-members = ["platform/rustboyadvance-sdl2"] - [profile.dev] opt-level = 2 debug = true [profile.release] -debug = false +strip = true [profile.release-dev] inherits = "release" @@ -29,4 +27,4 @@ debug-assertions = false [profile.release-lto] inherits = "release" -lto = true \ No newline at end of file +lto = true diff --git a/Dockerfile.android b/Dockerfile.android deleted file mode 100644 index 70c10b2..0000000 --- a/Dockerfile.android +++ /dev/null @@ -1,34 +0,0 @@ -FROM npetrovsky/docker-android-sdk-ndk - -# Update default packages -RUN apt-get update - -# Get Ubuntu packages -RUN apt-get install -y \ - build-essential \ - curl - -# Update new packages -RUN apt-get update - -# Get Rust -RUN curl https://sh.rustup.rs -sSf | bash -s -- -y - -RUN echo 'source $HOME/.cargo/env' >> $HOME/.bashrc - -RUN . $HOME/.cargo/env && rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android - -ENV NDK=$ANDROID_HOME/ndk-bundle - -RUN echo \ - '[target.aarch64-linux-android]\n'\ - 'ar = "/opt/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/aarch64-linux-android/bin/ar "\n'\ - 'linker = "/opt/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android26-clang"\n'\ - \ - '[target.armv7-linux-androideabi]\n'\ - 'ar = "/opt/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/arm-linux-androideabi/bin/ar "\n'\ - 'linker = "/opt/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi26-clang"\n'\ - \ - '[target.i686-linux-android]\n'\ - 'ar = "/opt/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/i386-linux-android/bin/ar"\n'\ - 'linker = "/opt/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android26-clang"' > $HOME/.cargo/config