summaryrefslogtreecommitdiff
path: root/repo/skia/skia-static.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/skia/skia-static.xibuild')
-rw-r--r--repo/skia/skia-static.xibuild15
1 files changed, 15 insertions, 0 deletions
diff --git a/repo/skia/skia-static.xibuild b/repo/skia/skia-static.xibuild
new file mode 100644
index 0000000..b14418f
--- /dev/null
+++ b/repo/skia/skia-static.xibuild
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+DESC="$DESC - static libraries"
+
+build () {
+ gn gen out/Static --args="$common_args is_official_build=true"
+
+ ninja -C out/Static
+}
+
+package () {
+ for lib in out/Static/*.a; do
+ install -Dm644 $lib $PKG_DEST/usr/lib/
+ done
+}