summaryrefslogtreecommitdiffstats
path: root/binding/gdbus/generate_interfaces.sh
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-09-05 13:22:28 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-09-06 13:26:58 -0700
commitf2a2eefabf1252301070f249f2249758e648f5bf (patch)
tree95efc1c869a8190929b8745ec972298988770df1 /binding/gdbus/generate_interfaces.sh
parent59a0665fe77d2b6ef155e84bce4333e555dce0dc (diff)
binding: media: add binding to its own repo
Initial commit for agl-service-media repo. This change enables cmake builds, and it being a standalone binding independent of the MediaPlayer application. Bug-AGL: SPEC-848 Change-Id: I1234c0d0dde4379b5697cc3fe3e16e27f8b73a7c Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/gdbus/generate_interfaces.sh')
-rwxr-xr-xbinding/gdbus/generate_interfaces.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/binding/gdbus/generate_interfaces.sh b/binding/gdbus/generate_interfaces.sh
new file mode 100755
index 0000000..f5cbc66
--- /dev/null
+++ b/binding/gdbus/generate_interfaces.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+CG=gdbus-codegen
+API=api
+
+$CG \
+ --interface-prefix org.lightmediascanner. \
+ --generate-c-code lightmediascanner_interface \
+ $API/org.lightmediascanner.xml