Merge "dex_import that isn't available for platform isn't installed" am: d4873a6b68
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1325676 Change-Id: I1c70a39543d6edfef383464ae70e2d19518179b2
This commit is contained in:
commit
ebccc4ddf5
1 changed files with 4 additions and 2 deletions
|
@ -2754,8 +2754,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 a new issue