Merge "No symlink for host APEXes" into rvc-dev

This commit is contained in:
Jiyong Park
2020-02-27 03:22:01 +00:00
committed by Android (Google) Code Review

View File

@@ -2329,6 +2329,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)