diff options
author | Yiwei Zhang <zzyiwei@chromium.org> | 2021-06-10 04:23:40 +0000 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-06-11 02:33:57 +0000 |
commit | 1b74a12ea0ae900d49d1921ed8931eb6131e1f18 (patch) | |
tree | 4c80f304f834147324872092d2d8a96c06b2e3db /bin | |
parent | 1a716f5f064ac60cd25c52bae106e93a96018b33 (diff) | |
download | mesa-1b74a12ea0ae900d49d1921ed8931eb6131e1f18.tar.gz mesa-1b74a12ea0ae900d49d1921ed8931eb6131e1f18.tar.bz2 mesa-1b74a12ea0ae900d49d1921ed8931eb6131e1f18.zip |
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-x | bin/update-android-headers.sh | 4 |
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} |