Servo-Android App packaging works

This commit is contained in:
aydin.kim 2013-08-21 15:48:04 +09:00
parent 3fe12748e0
commit 16b56df45d
3 changed files with 14 additions and 0 deletions

3
.gitmodules vendored
View file

@ -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

View file

@ -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)

@ -0,0 +1 @@
Subproject commit caf03d371cb99c9c72a7127114d8f5365a02eb06