dart: enable dart2js for web app
This commit is contained in:
parent
4040a2c997
commit
c8d8c67daf
@ -48,19 +48,19 @@ termux_step_make_install() {
|
||||
rm -f ./out/*/args.gn
|
||||
|
||||
if [ $TERMUX_ARCH = "arm" ]; then
|
||||
DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --no-goma --mode release --arch=arm --os=android create_sdk dart2js
|
||||
python2 ./tools/build.py --no-goma --mode release --arch=arm --os=android create_sdk
|
||||
chmod +x ./out/ReleaseAndroidARM/dart-sdk/bin/*
|
||||
cp -r ./out/ReleaseAndroidARM/dart-sdk ${TERMUX_PREFIX}/lib
|
||||
elif [ $TERMUX_ARCH = "i686" ]; then
|
||||
DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --no-goma --mode release --arch=ia32 --os=android create_sdk dart2js
|
||||
python2 ./tools/build.py --no-goma --mode release --arch=ia32 --os=android create_sdk
|
||||
chmod +x ./out/ReleaseAndroidIA32/dart-sdk/bin/*
|
||||
cp -r ./out/ReleaseAndroidIA32/dart-sdk ${TERMUX_PREFIX}/lib
|
||||
elif [ $TERMUX_ARCH = "aarch64" ]; then
|
||||
DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --no-goma --mode release --arch=arm64c --os=android create_sdk dart2js
|
||||
python2 ./tools/build.py --no-goma --mode release --arch=arm64c --os=android create_sdk
|
||||
chmod +x ./out/ReleaseAndroidARM64C/dart-sdk/bin/*
|
||||
cp -r ./out/ReleaseAndroidARM64C/dart-sdk ${TERMUX_PREFIX}/lib
|
||||
elif [ $TERMUX_ARCH = "x86_64" ]; then
|
||||
DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --no-goma --mode release --arch=x64c --os=android create_sdk dart2js
|
||||
python2 ./tools/build.py --no-goma --mode release --arch=x64c --os=android create_sdk
|
||||
chmod +x ./out/ReleaseAndroidX64C/dart-sdk/bin/*
|
||||
cp -r ./out/ReleaseAndroidX64C/dart-sdk ${TERMUX_PREFIX}/lib
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user