summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorYiwei Zhang <zzyiwei@chromium.org>2021-06-10 04:23:40 +0000
committerMarge Bot <eric+marge@anholt.net>2021-06-11 02:33:57 +0000
commit1b74a12ea0ae900d49d1921ed8931eb6131e1f18 (patch)
tree4c80f304f834147324872092d2d8a96c06b2e3db /bin
parent1a716f5f064ac60cd25c52bae106e93a96018b33 (diff)
egl/android: add aosp_nougat system/window.h back for back compat
Also layer ANativeWindow_* APIs on top of legacy APIs for api level less than 26 in a new platform_android.h header. v2: persist frozen system/window.h header Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Rob Clark <robdclark@chromium.org> (v1) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11286>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update-android-headers.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/update-android-headers.sh b/bin/update-android-headers.sh
index 937654a1205..eddb1cf9c9f 100755
--- a/bin/update-android-headers.sh
+++ b/bin/update-android-headers.sh
@@ -15,6 +15,10 @@ fi
dest=include/android_stub
+# Persist the frozen Android N system/window.h for backward compatibility
+
+cp -av ${dest}/system/window.h platform-system-core/libsystem/include/system
+
rm -rf ${dest}
mkdir ${dest}