commit | 0ffa3aba781526182294d27f3e7bf1b538325c03 | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Thu Feb 27 23:56:24 2020 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Feb 27 23:56:24 2020 +0000 |
tree | 87dc7dd2b4b19697ed8aa5b5c21a4a9e441e3927 | |
parent | 2d4b8d2188982fb0e63c8ee1eb81189a12b2bc36 [diff] | |
parent | 638d30ed21d98757a1fb8608418fe227aadc8c2d [diff] |
Merge "No symlink for host APEXes"
diff --git a/apex/apex.go b/apex/apex.go index 6d4b17b..96a6dca 100644 --- a/apex/apex.go +++ b/apex/apex.go
@@ -2327,6 +2327,11 @@ 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)