Merge "Do not exclude VNDK modules from SoC/Product-specific modules" am: 1537692837
am: 4aeea16df3
am: fffb427b3f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1465422 Change-Id: I449293c3b4eb8a43aecc48ba3567d84d3e76d79b
This commit is contained in:
@@ -63,12 +63,12 @@ const (
|
||||
|
||||
func (ctx *moduleContext) ProductSpecific() bool {
|
||||
return ctx.ModuleContext.ProductSpecific() ||
|
||||
(ctx.mod.HasVendorVariant() && ctx.mod.inProduct() && !ctx.mod.IsVndk())
|
||||
(ctx.mod.HasVendorVariant() && ctx.mod.inProduct())
|
||||
}
|
||||
|
||||
func (ctx *moduleContext) SocSpecific() bool {
|
||||
return ctx.ModuleContext.SocSpecific() ||
|
||||
(ctx.mod.HasVendorVariant() && ctx.mod.inVendor() && !ctx.mod.IsVndk())
|
||||
(ctx.mod.HasVendorVariant() && ctx.mod.inVendor())
|
||||
}
|
||||
|
||||
func (ctx *moduleContextImpl) inProduct() bool {
|
||||
|
Reference in New Issue
Block a user