diff options
author | Colin Cross <ccross@android.com> | 2020-08-13 11:24:56 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2020-08-13 17:50:29 -0700 |
commit | e07f2316b7a5d5ee82a33caf814fd24077c372f8 (patch) | |
tree | d35660fe51f1d8c2f34681e69ff100fc723b775e /cc/binary.go | |
parent | 1b9604b463f62abd42f404ee1e06ac878a75427c (diff) | |
download | soong-e07f2316b7a5d5ee82a33caf814fd24077c372f8.tar.gz |
Rename ApexName to ApexVariationName
In preparation for reusing the same variation for multiple apexes,
rename ApexName to ApexVariationName.
Bug: 164216768
Test: all soong tests
Change-Id: I88f2c5b192ffa27acd38e01952d0cefd413222a0
Diffstat (limited to 'cc/binary.go')
-rw-r--r-- | cc/binary.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/binary.go b/cc/binary.go index 63bbd8385..6769fa778 100644 --- a/cc/binary.go +++ b/cc/binary.go @@ -445,7 +445,7 @@ func (binary *binaryDecorator) install(ctx ModuleContext, file android.Path) { // The original path becomes a symlink to the corresponding file in the // runtime APEX. translatedArch := ctx.Target().NativeBridge == android.NativeBridgeEnabled - if InstallToBootstrap(ctx.baseModuleName(), ctx.Config()) && !translatedArch && ctx.apexName() == "" && !ctx.inRamdisk() && !ctx.inRecovery() { + if InstallToBootstrap(ctx.baseModuleName(), ctx.Config()) && !translatedArch && ctx.apexVariationName() == "" && !ctx.inRamdisk() && !ctx.inRecovery() { if ctx.Device() && isBionic(ctx.baseModuleName()) { binary.installSymlinkToRuntimeApex(ctx, file) } |