Add PRODUCT_MODULE_BUILD_FROM_SOURCE to sdk's product config
`sdk` builds require sources of mainline modules. explicitly set this value to prevent reaching an incompatible state across release build flags and soong config namespaces prebuilt vs source selection mechanism. Test: will use go/abtd to run the failing target in b/332322437 https://android-build.corp.google.com/builds/abtd/run/L54400030002940286 Bug: 332322437 Change-Id: If65fb3706910ac5142d6ad9dc416190fa1c9ee89
This commit is contained in:
@@ -34,6 +34,9 @@ PRODUCT_DEVICE := mainline_x86
|
||||
|
||||
PRODUCT_BUILD_FROM_SOURCE_STUB := true
|
||||
|
||||
# Use sources of mainline modules
|
||||
PRODUCT_MODULE_BUILD_FROM_SOURCE := true
|
||||
|
||||
ifeq ($(WITHOUT_CHECK_API),true)
|
||||
$(error WITHOUT_CHECK_API cannot be set to true for SDK product builds)
|
||||
endif
|
||||
|
Reference in New Issue
Block a user