mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-09 04:08:01 -04:00
Build fastdebug
This commit is contained in:
parent
61cfd5c8e3
commit
2551821c66
@ -44,6 +44,7 @@ Based on http://openjdk.java.net/projects/mobile/android.html
|
|||||||
|
|
||||||
### Run in this directory:
|
### Run in this directory:
|
||||||
```
|
```
|
||||||
|
export JDK_DEBUG_LEVEL=[release/fastdebug/debug]
|
||||||
export NDK_VERSION=r14
|
export NDK_VERSION=r14
|
||||||
./extractndk.sh
|
./extractndk.sh
|
||||||
./getlibs.sh
|
./getlibs.sh
|
||||||
|
@ -37,7 +37,7 @@ bash ./configure \
|
|||||||
--with-jdk-variant=normal \
|
--with-jdk-variant=normal \
|
||||||
--with-cups-include=$CUPS_DIR \
|
--with-cups-include=$CUPS_DIR \
|
||||||
--with-devkit=$ANDROID_DEVKIT \
|
--with-devkit=$ANDROID_DEVKIT \
|
||||||
--with-debug-level=release \
|
--with-debug-level=$JDK_DEBUG_LEVEL \
|
||||||
--with-fontconfig-include=$ANDROID_INCLUDE \
|
--with-fontconfig-include=$ANDROID_INCLUDE \
|
||||||
--with-freetype-lib=$FREETYPE_DIR/lib \
|
--with-freetype-lib=$FREETYPE_DIR/lib \
|
||||||
--with-freetype-include=$FREETYPE_DIR/include/freetype2 \
|
--with-freetype-include=$FREETYPE_DIR/include/freetype2 \
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
export JDK_DEBUG_LEVEL=fastdebug
|
||||||
|
|
||||||
. setdevkitpath.sh
|
. setdevkitpath.sh
|
||||||
|
|
||||||
wget -nc -nv -O android-ndk-$NDK_VERSION-linux-x86_64.zip "https://dl.google.com/android/repository/android-ndk-$NDK_VERSION-linux-x86_64.zip"
|
wget -nc -nv -O android-ndk-$NDK_VERSION-linux-x86_64.zip "https://dl.google.com/android/repository/android-ndk-$NDK_VERSION-linux-x86_64.zip"
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
set -e
|
set -e
|
||||||
rm -rf jreout || true
|
rm -rf jreout || true
|
||||||
|
|
||||||
cp -r openjdk/build/linux-${TARGET_JDK}-normal-server-release/images/j2re-image jreout
|
cp -r openjdk/build/linux-${TARGET_JDK}-normal-server-${JDK_DEBUG_LEVEL}/images/j2re-image jreout
|
||||||
find jreout -name "*.diz" | xargs -- rm
|
find jreout -name "*.diz" | xargs -- rm
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
export NDK_VERSION=r14
|
export NDK_VERSION=r14
|
||||||
|
|
||||||
# Override GitHub Actions env vars
|
if [ -z "$JDK_DEBUG_LEVEL" ]
|
||||||
|
then
|
||||||
|
export JDK_DEBUG_LEVEL=release
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$TARGET_JDK" == "aarch64" ]
|
if [ "$TARGET_JDK" == "aarch64" ]
|
||||||
then
|
then
|
||||||
@ -9,6 +12,7 @@ else
|
|||||||
export TARGET_SHORT=$TARGET_JDK
|
export TARGET_SHORT=$TARGET_JDK
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Override GitHub Actions env var
|
||||||
export NDK_HOME=`pwd`/android-ndk-$NDK_VERSION
|
export NDK_HOME=`pwd`/android-ndk-$NDK_VERSION
|
||||||
|
|
||||||
export NDK=$NDK_HOME
|
export NDK=$NDK_HOME
|
||||||
|
Loading…
x
Reference in New Issue
Block a user