Merge "apex: file_contexts for override_apex flattened" into rvc-dev
This commit is contained in:
@@ -587,7 +587,7 @@ func (a *apexBundle) buildFlattenedApex(ctx android.ModuleContext) {
|
|||||||
apexBundleName := a.Name()
|
apexBundleName := a.Name()
|
||||||
a.outputFile = android.PathForModuleInstall(&factx, "apex", apexBundleName)
|
a.outputFile = android.PathForModuleInstall(&factx, "apex", apexBundleName)
|
||||||
|
|
||||||
if a.installable() && a.GetOverriddenBy() == "" {
|
if a.installable() {
|
||||||
installPath := android.PathForModuleInstall(ctx, "apex", apexBundleName)
|
installPath := android.PathForModuleInstall(ctx, "apex", apexBundleName)
|
||||||
devicePath := android.InstallPathToOnDevicePath(ctx, installPath)
|
devicePath := android.InstallPathToOnDevicePath(ctx, installPath)
|
||||||
addFlattenedFileContextsInfos(ctx, apexBundleName+":"+devicePath+":"+a.fileContexts.String())
|
addFlattenedFileContextsInfos(ctx, apexBundleName+":"+devicePath+":"+a.fileContexts.String())
|
||||||
|
Reference in New Issue
Block a user