aboutsummaryrefslogtreecommitdiffstats
path: root/components/servo/fake-ld.sh
diff options
context:
space:
mode:
Diffstat (limited to 'components/servo/fake-ld.sh')
-rwxr-xr-xcomponents/servo/fake-ld.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/servo/fake-ld.sh b/components/servo/fake-ld.sh
new file mode 100755
index 00000000000..2babdbd80c1
--- /dev/null
+++ b/components/servo/fake-ld.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+TARGET_DIR=$OUT_DIR/../../..
+arm-linux-androideabi-gcc $@ $LDFLAGS -lc -o $TARGET_DIR/libservo.so -shared && touch $TARGET_DIR/servo