Add vendor snapshot modules
This implements four modules (static/shared/header libraries, and binaries) for vendor snapshot. These modules will override source modules if BOARD_VNDK_VERSION != current. Bug: 65377115 Test: 1) VNDK_SNAPSHOT_BUILD_ARTIFACTS=true m dist vndk vendor-snapshot Test: 2) install snapshot under source tree Test: 3) set BOARD_VNDK_VERSION and boot cuttlefish Change-Id: I24ddb4c3aa6abeab60bbfd31bcbd8753e2592dc5
This commit is contained in:
@@ -765,7 +765,7 @@ func osMutator(mctx BottomUpMutatorContext) {
|
||||
}
|
||||
|
||||
if len(moduleOSList) == 0 {
|
||||
base.commonProperties.Enabled = boolPtr(false)
|
||||
base.Disable()
|
||||
return
|
||||
}
|
||||
|
||||
@@ -869,7 +869,7 @@ func archMutator(mctx BottomUpMutatorContext) {
|
||||
}
|
||||
|
||||
if len(targets) == 0 {
|
||||
base.commonProperties.Enabled = boolPtr(false)
|
||||
base.Disable()
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user