mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Servo-Android App packaging works
This commit is contained in:
parent
3fe12748e0
commit
16b56df45d
3 changed files with 14 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -113,3 +113,6 @@
|
|||
[submodule "src/support/egl/rust-egl"]
|
||||
path = src/support/egl/rust-egl
|
||||
url = http://github.com/webconvforge/rust-egl.git
|
||||
[submodule "src/platform/android/servo-android-glue"]
|
||||
path = src/platform/android/servo-android-glue
|
||||
url = http://github.com/webconvforge/servo-android-glue.git
|
||||
|
|
10
Makefile.in
10
Makefile.in
|
@ -343,6 +343,16 @@ package: servo
|
|||
cp $(B)src/platform/macos/rust-cocoa/lib*.dylib Servo.app/Contents/MacOS/src/platform/macos/rust-cocoa/
|
||||
cp $(B)src/support/azure/rust-azure/lib*.dylib Servo.app/Contents/MacOS/src/support/azure/rust-azure/
|
||||
|
||||
else ifeq ($(CFG_OSTYPE),linux-androideabi)
|
||||
package: servo
|
||||
mkdir -p sofile
|
||||
-exec cp -f {} $(CFG_BUILD_HOME)sofile \;
|
||||
find . ! \( \( -type d -path './sofile' -o -path './$(CFG_TARGET_TRIPLES)/src/compiler/rust' \) -prune \) -name '*.so' -type f | xargs cp -f -t $(CFG_BUILD_HOME)sofile
|
||||
find $(CFG_RUST_HOME)/lib/rustc/$(CFG_TARGET_TRIPLES)/lib/ -name '*.so' -type f -size +1c | xargs cp -f -t $(CFG_BUILD_HOME)sofile
|
||||
cd $(S)src/platform/android/servo-android-glue && make with-libs
|
||||
cd $(CFG_BUILD_HOME)
|
||||
cp $(S)src/platform/android/servo-android-glue/bin/ServoAndroid-debug.apk -t $(CFG_BUILD_HOME)
|
||||
|
||||
else
|
||||
|
||||
bindings: $(AUTOGEN_SRC_script)
|
||||
|
|
1
src/platform/android/servo-android-glue
Submodule
1
src/platform/android/servo-android-glue
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit caf03d371cb99c9c72a7127114d8f5365a02eb06
|
Loading…
Add table
Add a link
Reference in a new issue