summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-02-12 20:05:12 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-02-12 20:05:12 -0800
commitc0a00df42e8f63caa3070c80a1e40db22bc574cc (patch)
tree0587983130279d980c3330badbc8a6dfaf9ca619
parentee8e44dabc698f3d5c1d518f9d0e07e63f4dde32 (diff)
parent2526b480688f961ac0baa2057c5f9247ad098bd5 (diff)
Merge "Use WithBash actions" into main
-rw-r--r--android/module_context.go2
-rw-r--r--filesystem/android_device_product_out.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/android/module_context.go b/android/module_context.go
index 1851e7c94..45a8e5c7a 100644
--- a/android/module_context.go
+++ b/android/module_context.go
@@ -816,7 +816,7 @@ func (m *moduleContext) InstallAbsoluteSymlink(installPath InstallPath, name str
})
if !m.Config().KatiEnabled() {
m.Build(pctx, BuildParams{
- Rule: Symlink,
+ Rule: SymlinkWithBash,
Description: "install symlink " + fullInstallPath.Base() + " -> " + absPath,
Output: fullInstallPath,
Args: map[string]string{
diff --git a/filesystem/android_device_product_out.go b/filesystem/android_device_product_out.go
index 6ac89ad6e..2c8cad6c0 100644
--- a/filesystem/android_device_product_out.go
+++ b/filesystem/android_device_product_out.go
@@ -70,7 +70,7 @@ func (a *androidDevice) copyFilesToProductOutForSoongOnly(ctx android.ModuleCont
// if that's the case.
if fip.SymlinkTarget == "" {
ctx.Build(pctx, android.BuildParams{
- Rule: android.Cp,
+ Rule: android.CpWithBash,
Input: fip.SourcePath,
Output: fip.FullInstallPath,
})