diff options
Diffstat (limited to 'android/rule_builder.go')
-rw-r--r-- | android/rule_builder.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/android/rule_builder.go b/android/rule_builder.go index f8de5fb96..1c6b1c086 100644 --- a/android/rule_builder.go +++ b/android/rule_builder.go @@ -839,14 +839,6 @@ func sboxPathForToolRel(ctx BuilderContext, path Path) string { // The tool is in the Soong output directory, it will be copied to __SBOX_OUT_DIR__/tools/out return filepath.Join(sboxToolsSubDir, "out", relOutSoong) } - if ctx.Config().KatiEnabled() { - toolDir = toolDir.ToMakePath() - relOut, isRelOut, _ := maybeRelErr(toolDir.String(), path.String()) - if isRelOut { - // The tool is in the Make output directory, it will be copied to __SBOX_OUT_DIR__/tools/out - return filepath.Join(sboxToolsSubDir, "out", relOut) - } - } // The tool is in the source directory, it will be copied to __SBOX_OUT_DIR__/tools/src return filepath.Join(sboxToolsSubDir, "src", path.String()) } |