mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
update-all: Handle using the update-all target from gst-build
This commit is contained in:
parent
4aa0f6f145
commit
805be3c207
1 changed files with 9 additions and 4 deletions
|
@ -25,18 +25,23 @@ if __name__ == "__main__":
|
|||
print("Building all code")
|
||||
subprocess.check_call([ninja, "-C", buildroot])
|
||||
|
||||
if 'gstreamer-sharp' in os.environ['MESON_SUBDIR']:
|
||||
subproject_prefix = 'gstreamer-sharp@@'
|
||||
else:
|
||||
subproject_prefix = ''
|
||||
|
||||
if bindinate:
|
||||
print("Bindinate GStreamer")
|
||||
subprocess.check_call([ninja, "-C", buildroot, "bindinate_gstreamer"])
|
||||
subprocess.check_call([ninja, "-C", buildroot, subproject_prefix + "bindinate_gstreamer"])
|
||||
|
||||
print("Update GStreamer bindings")
|
||||
subprocess.check_call([ninja, "-C", buildroot, "update_gstreamer_code"])
|
||||
subprocess.check_call([ninja, "-C", buildroot, subproject_prefix + "update_gstreamer_code"])
|
||||
|
||||
if bindinate:
|
||||
print("Bindinate GES")
|
||||
subprocess.check_call([ninja, "-C", buildroot, "bindinate_ges"])
|
||||
subprocess.check_call([ninja, "-C", buildroot, subproject_prefix + "bindinate_ges"])
|
||||
print("Update GES bindings")
|
||||
subprocess.check_call([ninja, "-C", buildroot, "update_ges_code"])
|
||||
subprocess.check_call([ninja, "-C", buildroot, subproject_prefix + "update_ges_code"])
|
||||
|
||||
print("Building all code")
|
||||
subprocess.check_call([ninja, "-C", buildroot])
|
Loading…
Reference in a new issue