mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
egl-configs: add i686 support
This commit is contained in:
parent
7d7f2025b7
commit
b7a8b81071
2 changed files with 21 additions and 1 deletions
|
@ -1,6 +1,10 @@
|
||||||
[build]
|
[build]
|
||||||
target = "armv7-linux-androideabi"
|
target = "i686-linux-android"
|
||||||
|
|
||||||
[target.armv7-linux-androideabi]
|
[target.armv7-linux-androideabi]
|
||||||
linker = "./ld.sh"
|
linker = "./ld.sh"
|
||||||
runner = "./run.sh"
|
runner = "./run.sh"
|
||||||
|
|
||||||
|
[target.i686-linux-android]
|
||||||
|
linker = "./ld-i686.sh"
|
||||||
|
runner = "./run.sh"
|
||||||
|
|
16
support/android/egl-configs/ld-i686.sh
Executable file
16
support/android/egl-configs/ld-i686.sh
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
|
set -o errexit
|
||||||
|
set -o nounset
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
|
NDK=../../../android-toolchains/android-ndk-r12b-linux-x86_64/android-ndk-r12b
|
||||||
|
BIN="${NDK}/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/"
|
||||||
|
|
||||||
|
"${BIN}/i686-linux-android-gcc" \
|
||||||
|
--sysroot "${NDK}/platforms/android-18/arch-x86" \
|
||||||
|
"${@}"
|
Loading…
Add table
Add a link
Reference in a new issue