diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2024-05-01 18:20:41 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-05-01 18:20:41 +0000 |
commit | 08f670ab4a5e65278080a286246d10e886ae8a5f (patch) | |
tree | 94441cba004dcaae410446d013117d19db9829b6 | |
parent | 83ede7c225320d577d9f3771af22b51860d9c672 (diff) | |
parent | c46c6d4edf7e4c4c932b962da93e466ea7946d10 (diff) | |
download | soong-08f670ab4a5e65278080a286246d10e886ae8a5f.tar.gz |
Merge "soong: Use the CpExecutable rule for copying libraries" into main
-rw-r--r-- | cc/prebuilt.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/prebuilt.go b/cc/prebuilt.go index cbb5d58db..e9f790f73 100644 --- a/cc/prebuilt.go +++ b/cc/prebuilt.go @@ -177,7 +177,7 @@ func (p *prebuiltLibraryLinker) link(ctx ModuleContext, implicits = append(implicits, importLibOutputFile) ctx.Build(pctx, android.BuildParams{ - Rule: android.Cp, + Rule: android.CpExecutable, Description: "prebuilt import library", Input: importLibSrc, Output: importLibOutputFile, @@ -188,7 +188,7 @@ func (p *prebuiltLibraryLinker) link(ctx ModuleContext, } ctx.Build(pctx, android.BuildParams{ - Rule: android.Cp, + Rule: android.CpExecutable, Description: "prebuilt shared library", Implicits: implicits, Input: in, |