Add InstallBypassMake
Allow modules to mark themselves as InstallBypassMake, which will cause android.PathForModuleInstall to return a path in $OUT_DIR instead of $OUT_DIR/soong. This can be used for modules that can handle installation to the final location on their own. The main blocker for most modules is support for the "required" property, which requires adding dependencies on the installed location of other modules. Bug: 122332855 Test: m checkbuild Change-Id: I85238d937ff30335167d4b3fec79bbefc734b5e1
This commit is contained in:
@@ -689,10 +689,6 @@ func (c *config) DevicePrimaryArchType() ArchType {
|
||||
return c.Targets[Android][0].Arch.ArchType
|
||||
}
|
||||
|
||||
func (c *config) SkipDeviceInstall() bool {
|
||||
return c.EmbeddedInMake()
|
||||
}
|
||||
|
||||
func (c *config) SkipMegaDeviceInstall(path string) bool {
|
||||
return Bool(c.Mega_device) &&
|
||||
strings.HasPrefix(path, filepath.Join(c.buildDir, "target", "product"))
|
||||
|
Reference in New Issue
Block a user