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

Commit 971e1a2d authored by Colin Cross's avatar Colin Cross
Browse files

Make libsnapshot_flags_cc_lib available to recovery and ramdisk modules

Due to b/424439549, Soong wasn't enforcing that ramdisk and recovery
modules could only link against other ramdisk and recovery modules.
Add ramdisk_available, recovery_available and vendor_ramdisk_available
to libsnapshot_flags_cc_lib since it is used by ramdisk, recovery and
vendor_ramdisk modules to allow re-enabling the error in Soong.

Also add mode: "force-read-only" to prevent dependencies on the
modules that read flags at runtime since the flag storage won't be
available in ramdisk or recovery.

Bug: 424439549
Bug: 428274881
Flag: EXEMPT build only fix
Test: builds
Change-Id: I1858a1d6ad1d93adb9be867eeada56f7be4d3c59
parent b1ae989f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment