diff options
author | Daniel Stone <daniel@fooishbar.org> | 2012-08-30 16:13:48 -0700 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2012-10-13 18:12:56 +0100 |
commit | dfa3c698eaebe1f5112b5f403636fbac5be70dba (patch) | |
tree | f0f0707bf8b73eaa4346c1b3417baa0879ab60c9 | |
parent | 4191445b5bb4c0d4d4a02ffa013a8ac9f4cb6270 (diff) | |
download | clutter-dfa3c698eaebe1f5112b5f403636fbac5be70dba.tar.gz |
abicheck: Add CLUTTER_WINDOWING_WAYLAND
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
(cherry picked from commit d4c7f2ecf4986517b890ef2b76cb1b6bbcb026fa)
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
-rwxr-xr-x | clutter/abicheck.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clutter/abicheck.sh b/clutter/abicheck.sh index 167598066..7106dd61a 100755 --- a/clutter/abicheck.sh +++ b/clutter/abicheck.sh @@ -2,10 +2,12 @@ has_x11_backend=no has_gdk_backend=no +has_wayland_backend=no for backend in ${CLUTTER_BACKENDS}; do case "$backend" in x11) has_x11_backend=yes ;; gdk) has_gdk_backend=yes ;; + wayland) has_wayland_backend=yes ;; esac done @@ -18,6 +20,10 @@ if [ $has_gdk_backend = "yes" ]; then cppargs="$cppargs -DCLUTTER_WINDOWING_GDK" fi +if [ $has_wayland_backend = "yes" ]; then + cppargs="$cppargs -DCLUTTER_WINDOWING_WAYLAND" +fi + cpp -P ${cppargs} ${srcdir:-.}/clutter.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE//' -e 's/ DATA//' | sort > expected-abi nm -D -g --defined-only .libs/libclutter-1.0.so | cut -d ' ' -f 3 | egrep -v '^(__bss_start|_edata|_end)' | sort > actual-abi |