Merge "Move checkbuild targets of Soong modules into Soong" into main
This commit is contained in:
@@ -577,6 +577,8 @@ type apexFile struct {
|
||||
customStem string
|
||||
symlinks []string // additional symlinks
|
||||
|
||||
checkbuildTarget android.Path
|
||||
|
||||
// Info for Android.mk Module name of `module` in AndroidMk. Note the generated AndroidMk
|
||||
// module for apexFile is named something like <AndroidMk module name>.<apex name>[<apex
|
||||
// suffix>]
|
||||
@@ -612,6 +614,9 @@ func newApexFile(ctx android.BaseModuleContext, builtFile android.Path, androidM
|
||||
module: module,
|
||||
}
|
||||
if module != nil {
|
||||
if installFilesInfo, ok := android.OtherModuleProvider(ctx, module, android.InstallFilesProvider); ok {
|
||||
ret.checkbuildTarget = installFilesInfo.CheckbuildTarget
|
||||
}
|
||||
ret.moduleDir = ctx.OtherModuleDir(module)
|
||||
ret.partition = module.PartitionTag(ctx.DeviceConfig())
|
||||
ret.requiredModuleNames = module.RequiredModuleNames(ctx)
|
||||
|
Reference in New Issue
Block a user