Merge "No symlink for host APEXes" am: 0ffa3aba78
Change-Id: Idd179e8a305f6797cf83fdc277ab1d83f1b32f24
This commit is contained in:
commit
82e9e2833a
1 changed files with 5 additions and 0 deletions
|
@ -2327,6 +2327,11 @@ func (a *apexBundle) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
|||
a.linkToSystemLib = false
|
||||
}
|
||||
|
||||
// We also don't want the optimization for host APEXes, because it doesn't make sense.
|
||||
if ctx.Host() {
|
||||
a.linkToSystemLib = false
|
||||
}
|
||||
|
||||
// prepare apex_manifest.json
|
||||
a.buildManifest(ctx, provideNativeLibs, requireNativeLibs)
|
||||
|
||||
|
|
Loading…
Reference in a new issue