Remove exportable modules when generating snapshots targeting older platform
This change modifies the contents of the generated Android.bp files so that when generating a snapshot on a older platform, the "exportable" modules are removed from the bp files, as the "exportable" modules are first introduced in V and do not exist in older platforms. Bug: 345162614 Test: ABTD Change-Id: I2dba51b98deec7805bd796647a66981f237c55a9
This commit is contained in:
@@ -291,6 +291,8 @@ var ApiLevelR = uncheckedFinalApiLevel(30)
|
||||
|
||||
var ApiLevelUpsideDownCake = uncheckedFinalApiLevel(34)
|
||||
|
||||
var ApiLevelVanillaIceCream = uncheckedFinalApiLevel(35)
|
||||
|
||||
// ReplaceFinalizedCodenames returns the API level number associated with that API level
|
||||
// if the `raw` input is the codename of an API level has been finalized.
|
||||
// If the input is *not* a finalized codename, the input is returned unmodified.
|
||||
|
Reference in New Issue
Block a user