Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e66f98fe authored by Spandan Das's avatar Spandan Das
Browse files

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
parent 83162dfc
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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