summaryrefslogtreecommitdiff
path: root/rust/rust_test.go
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2020-08-25 18:57:39 +0900
committer Jiyong Park <jiyong@google.com> 2020-08-25 18:57:39 +0900
commit89f7bf1635c50569a4748ff67431a29b600a2e0e (patch)
tree68c1599985a0e9e11b879c3e2f52428385cee5a2 /rust/rust_test.go
parent2d815963ba597cce3b2401d405d0ed3a7beb5737 (diff)
bootstrap is added for cc_binary only when the module is in an APEX
Like shared libraries, the bootstrap subdirectory is appended to the install path only when the module is in an APEX. Currently, this change doesn't make any difference because only the Bionic binary (linker) is satisfying the existing condition InstallToBootstrap() and it already satisfies DirectlyInAnyApex. However, this change makes a diference when we build the binary for the host targets. Then without this change, it is installed to out/soong/host/<OS>-<arch>/bin/bootstrap. This doesn't make sense because we don't use APEXes for the host targets. With this change, the binary is correctly installed to out/soong/host/<OS>-<arch>/bin because DirectlyInAnyApex returns false for hosts. Bug: 159685774 Test: m Change-Id: I0d63bd8c11e3a96ee6a27b2295bc14d6dc15ff9e
Diffstat (limited to 'rust/rust_test.go')
0 files changed, 0 insertions, 0 deletions