gstreamer/ci/scripts/save-abi.sh
Matthew Waters fc30006290 ci/abi-check: provide the header dir to abidw
Allows the abi diff check to correctly filter out private types.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7981>
2024-11-27 14:57:48 +00:00

11 lines
241 B
Bash
Executable file

#! /bin/bash
set -eux
filename=${1}
output_dir=${2}
header_dir=${3}
module=$(basename ${filename} | cut -f1,2 -d'.')
mkdir -p ${output_dir}
abidw -o ${output_dir}/${module}.abi --drop-private-types --headers-dir ${header_dir} ${filename}