Override map for enabling Go mainline module prebuilts

The release config maps in `v/g_sh/b/r/gms_mainline_go/required`
will be used to enable Go mainline prebuilts of mandatory modules by
both internal google products and partner OEMs.

Addition of `v/g_sh/b/r/gms_mainline_go/optional` is product dependent, and
will have to be added separately

Bug: 342265627
Test: lunch mokey_go32-ap3a-userdebug
Test: verified that the following vars are same before and after change
Test: get_build_var RELEASE_APEX_CONTRIBUTIONS_ADBD # go prebuilt
Test: get_build_var RELEASE_APEX_CONTRIBUTIONS_REMOTEKEYPROVISIONING #
go prebuilt
Test: get_build_var RELEASE_APEX_CONTRIBUTIONS_UWB # go prebuilt
Ignore-AOSP-First: part of a topic

Change-Id: Ib80c4eef669dcfc3eaf8bb8dc5b9eb011d335fd0
This commit is contained in:
Spandan Das
2024-06-03 17:39:10 +00:00
parent 343a1c90ea
commit 07609e780a

View File

@@ -17,7 +17,8 @@
# Inherit common Android Go defaults.
$(call inherit-product, build/make/target/product/go_defaults_common.mk)
PRODUCT_RELEASE_CONFIG_MAPS += $(wildcard vendor/google_shared/build/release/go_devices/release_config_map.mk)
# Product config map to toggle between sources and prebuilts of required mainline modules
PRODUCT_RELEASE_CONFIG_MAPS += $(wildcard vendor/google_shared/build/release/gms_mainline_go/required/release_config_map.textproto)
# TODO (b/342265627): Remove v/g/r once all the flags have been moved to v/g_s/b/r
PRODUCT_RELEASE_CONFIG_MAPS += $(wildcard vendor/google/release/go_devices/release_config_map.mk)