From 74e1b20cc4bac936c873307cbd07d73d5c773c39 Mon Sep 17 00:00:00 2001 From: Robin Peng Date: Fri, 6 Sep 2024 07:30:23 +0000 Subject: [PATCH] Symlink current prebuilt folder to android root The Android are now based on Trunk Stable world and Pixel prebuilts CLs also needs to reply with this which controlled by the flag which results: - the flag value might be different on each branches - the flag value are mostly different on each release configuration - for local builds, ENGs' needs to figure out the correct location of current prebuilts by checking through entire prebuilt textproto files To alleviate this problem, create an symlink file under android root indicates current prebuilt path after invoke the android lunch cmd. Bug: 364831620 Flag: EXEMPT export current prebuilt path Change-Id: I43355dc794b94084a9a1d80cc23382781eace1d8 Signed-off-by: Robin Peng --- oriole/BoardConfig.mk | 1 + raven/BoardConfig.mk | 1 + slider/BoardConfig.mk | 1 + whitefin/BoardConfig.mk | 1 + 4 files changed, 4 insertions(+) diff --git a/oriole/BoardConfig.mk b/oriole/BoardConfig.mk index 00a9a28..d77c0ef 100644 --- a/oriole/BoardConfig.mk +++ b/oriole/BoardConfig.mk @@ -42,6 +42,7 @@ include device/google/gs101/BoardConfig-common.mk include device/google/gs101-sepolicy/oriole-sepolicy.mk include device/google/gs101/wifi/BoardConfig-wifi.mk -include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk +include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk -include vendor/google_devices/oriole/proprietary/BoardConfigVendor.mk ifneq (,$(RELEASE_ETM_IN_USERDEBUG_ENG)) diff --git a/raven/BoardConfig.mk b/raven/BoardConfig.mk index 783511a..3d474b6 100644 --- a/raven/BoardConfig.mk +++ b/raven/BoardConfig.mk @@ -42,6 +42,7 @@ include device/google/gs101/BoardConfig-common.mk include device/google/gs101-sepolicy/raven-sepolicy.mk include device/google/gs101/wifi/BoardConfig-wifi.mk -include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk +include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk -include vendor/google_devices/raven/proprietary/BoardConfigVendor.mk ifneq (,$(RELEASE_ETM_IN_USERDEBUG_ENG)) diff --git a/slider/BoardConfig.mk b/slider/BoardConfig.mk index 82425d2..2224d56 100644 --- a/slider/BoardConfig.mk +++ b/slider/BoardConfig.mk @@ -23,3 +23,4 @@ BOARD_BOOTCONFIG += androidboot.selinux=permissive include device/google/gs101/BoardConfig-common.mk include device/google/gs101/wifi/BoardConfig-wifi.mk -include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk +include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk diff --git a/whitefin/BoardConfig.mk b/whitefin/BoardConfig.mk index 5b5a07a..27f7c98 100644 --- a/whitefin/BoardConfig.mk +++ b/whitefin/BoardConfig.mk @@ -23,3 +23,4 @@ BOARD_BOOTCONFIG += androidboot.selinux=permissive include device/google/gs101/BoardConfig-common.mk include device/google/gs101/wifi/BoardConfig-wifi.mk -include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk +include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk