diff options
-rw-r--r-- | android/module_context.go | 2 | ||||
-rw-r--r-- | filesystem/android_device_product_out.go | 2 |
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, }) |