Do not exclude VNDK modules from SoC/Product-specific modules
The VNDK modules were excluded from SoC/Product specific modules because they were installed to system partition. However, as they moved to VNDK APEX, we don't need to make a exception for VNDK modules. Bug: 170711679 Test: Follow the steps below: $ lunch aosp_x86-eng $ m nothing # ctrl-C while running soong_build $ rm out/soong/.soong.in_make $ m --skip-make libc Change-Id: I001bc98e4031e5e8bcdea9cb920caa21b8744752
This commit is contained in:
parent
34f0290582
commit
543f60bc31
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue