dex_import that isn't available for platform isn't installed am: afd3d11a79
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/11787985 Change-Id: I617bce4198e4e4b4dc6779246f0bfadcb6a442a4
This commit is contained in:
commit
3a3c871410
|
@ -2757,8 +2757,10 @@ func (j *DexImport) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
|||
|
||||
j.maybeStrippedDexJarFile = dexOutputFile
|
||||
|
||||
ctx.InstallFile(android.PathForModuleInstall(ctx, "framework"),
|
||||
j.Stem()+".jar", dexOutputFile)
|
||||
if j.IsForPlatform() {
|
||||
ctx.InstallFile(android.PathForModuleInstall(ctx, "framework"),
|
||||
j.Stem()+".jar", dexOutputFile)
|
||||
}
|
||||
}
|
||||
|
||||
func (j *DexImport) DexJarBuildPath() android.Path {
|
||||
|
|
Loading…
Reference in New Issue