xref: /aosp_15_r20/external/wayland-protocols/README.android (revision 6c119a463dd5c45dd05bbe67429293292dde15ee)
1## Updating from upstream
2
3### Update the freedesktop.org/ subdirectory
4
51) Run import_snapshot.py freedesktop.org $VERSION
6
7```sh
8# Determine the actual version you want from gitlab.freedesktop.org/wayland/wayland-protocols
9cd path/to/external/wayland-protocols
10./import_snapshot.py freedesktop.org 1.32
11```
12
132) Modify the top-level Android.bp to reference any new .xml protocol files.
14
15### Update the chromium.org/ directory
16
171) Run import_snapshot.py chromium.org main
18
19```sh
20cd path/to/external/wayland-protocols
21./import_snapshot.py chromium.org main
22```
23
242) Modify the top-level Android.bp to reference any new .xml protocol files.
25