Merge "Qualify prebuilt_etc apex module name by relative paths" into main am: e0943e95f4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3086166 Change-Id: I2dc36ec60bbaab3f28c2f0455d3d2bb9df76bb64 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1636,7 +1636,7 @@ func apexFileForShBinary(ctx android.BaseModuleContext, sh *sh.ShBinary) apexFil
|
||||
|
||||
func apexFileForPrebuiltEtc(ctx android.BaseModuleContext, prebuilt prebuilt_etc.PrebuiltEtcModule, outputFile android.Path) apexFile {
|
||||
dirInApex := filepath.Join(prebuilt.BaseDir(), prebuilt.SubDir())
|
||||
return newApexFile(ctx, outputFile, outputFile.Base(), dirInApex, etc, prebuilt)
|
||||
return newApexFile(ctx, outputFile, strings.ReplaceAll(outputFile.Rel(), "/", "_"), dirInApex, etc, prebuilt)
|
||||
}
|
||||
|
||||
func apexFileForCompatConfig(ctx android.BaseModuleContext, config java.PlatformCompatConfigIntf, depName string) apexFile {
|
||||
|
Reference in New Issue
Block a user