make current and previous build ID part of device config

Previous build ID is useful when doing comparisons.
This commit is contained in:
Dmitry Muhomor 2023-08-23 16:56:48 +03:00 committed by Daniel Micay
parent 81adbb0c42
commit 31d493f58c
5 changed files with 15 additions and 3 deletions

View file

@ -5,6 +5,10 @@ platform:
includes: includes:
- pixel.yml - pixel.yml
device:
build_id: TP1A.221005.002.B2
prev_build_id: TP1A.221005.002
filters: filters:
files: files:
match: match:

View file

@ -1,11 +1,13 @@
device:
vendor: google_devices
includes: includes:
- file-removal.yml - file-removal.yml
- overlay-removal.yml - overlay-removal.yml
- removal.yml - removal.yml
device:
vendor: google_devices
build_id: TQ3A.230805.001
prev_build_id: TQ3A.230705.001
platform: platform:
sepolicy_dirs: sepolicy_dirs:
- hardware/google/pixel-sepolicy - hardware/google/pixel-sepolicy

View file

@ -1,5 +1,7 @@
device: device:
name: felix name: felix
build_id: TQ3C.230805.001.A3
prev_build_id: TQ3C.230705.001.C1
platform: platform:
product_makefile: device/google/felix/aosp_felix.mk product_makefile: device/google/felix/aosp_felix.mk

View file

@ -1,5 +1,7 @@
device: device:
name: tangorpro name: tangorpro
build_id: TQ3A.230805.001.B1
prev_build_id: TQ3A.230705.001.B4
platform: platform:
product_makefile: device/google/tangorpro/aosp_tangorpro.mk product_makefile: device/google/tangorpro/aosp_tangorpro.mk

View file

@ -20,6 +20,8 @@ export interface DeviceConfig {
device: { device: {
name: string name: string
vendor: string vendor: string
build_id: string
prev_build_id: string
} }
platform: { platform: {