From 31d493f58cfd69bd3c45e9049b589fc3364cb895 Mon Sep 17 00:00:00 2001 From: Dmitry Muhomor Date: Wed, 23 Aug 2023 16:56:48 +0300 Subject: [PATCH] make current and previous build ID part of device config Previous build ID is useful when doing comparisons. --- config/device/common/gen4pixel.yml | 4 ++++ config/device/common/pixel.yml | 8 +++++--- config/device/felix.yml | 2 ++ config/device/tangorpro.yml | 2 ++ src/config/device.ts | 2 ++ 5 files changed, 15 insertions(+), 3 deletions(-) diff --git a/config/device/common/gen4pixel.yml b/config/device/common/gen4pixel.yml index aaf4245..ce2a3aa 100644 --- a/config/device/common/gen4pixel.yml +++ b/config/device/common/gen4pixel.yml @@ -5,6 +5,10 @@ platform: includes: - pixel.yml +device: + build_id: TP1A.221005.002.B2 + prev_build_id: TP1A.221005.002 + filters: files: match: diff --git a/config/device/common/pixel.yml b/config/device/common/pixel.yml index c2383b3..2894755 100644 --- a/config/device/common/pixel.yml +++ b/config/device/common/pixel.yml @@ -1,11 +1,13 @@ -device: - vendor: google_devices - includes: - file-removal.yml - overlay-removal.yml - removal.yml +device: + vendor: google_devices + build_id: TQ3A.230805.001 + prev_build_id: TQ3A.230705.001 + platform: sepolicy_dirs: - hardware/google/pixel-sepolicy diff --git a/config/device/felix.yml b/config/device/felix.yml index cccb436..d98b3ce 100644 --- a/config/device/felix.yml +++ b/config/device/felix.yml @@ -1,5 +1,7 @@ device: name: felix + build_id: TQ3C.230805.001.A3 + prev_build_id: TQ3C.230705.001.C1 platform: product_makefile: device/google/felix/aosp_felix.mk diff --git a/config/device/tangorpro.yml b/config/device/tangorpro.yml index 5545012..9250151 100644 --- a/config/device/tangorpro.yml +++ b/config/device/tangorpro.yml @@ -1,5 +1,7 @@ device: name: tangorpro + build_id: TQ3A.230805.001.B1 + prev_build_id: TQ3A.230705.001.B4 platform: product_makefile: device/google/tangorpro/aosp_tangorpro.mk diff --git a/src/config/device.ts b/src/config/device.ts index 20ceb67..780ae42 100644 --- a/src/config/device.ts +++ b/src/config/device.ts @@ -20,6 +20,8 @@ export interface DeviceConfig { device: { name: string vendor: string + build_id: string + prev_build_id: string } platform: {