mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-13 20:06:35 +00:00
fc30006290
Allows the abi diff check to correctly filter out private types. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7981>
11 lines
241 B
Bash
Executable file
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}
|