mirror of
https://github.com/servo/servo.git
synced 2025-08-23 22:35:33 +01:00
Use the correct Rust path in Android packaging
This commit is contained in:
parent
85a2f0b66a
commit
3cacb029cc
2 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
CARGO_OPTS ?=
|
||||
RUST_ROOT ?= /usr/local
|
||||
|
||||
.PHONY: all
|
||||
all: glut_app
|
||||
|
@ -7,7 +8,7 @@ all: glut_app
|
|||
xargs -I {} cp -f {} libs/armeabi
|
||||
find glut_app/target ! \( -type d -name dist -prune \) -name 'libglut_app-*.so' | \
|
||||
xargs -I {} cp -f {} libs/armeabi/libservo.so
|
||||
find ../../rust/lib/rustlib/arm-linux-androideabi/lib \
|
||||
find $(RUST_ROOT)/lib/rustlib/arm-linux-androideabi/lib \
|
||||
-name '*.so' -type f -size +1c | \
|
||||
xargs -I {} cp -f {} libs/armeabi
|
||||
$(ANDROID_SDK)/tools/android update project \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue