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