Some clarifications in preparation to automatically order linker dependencies
Test: Browse the code and determine whether it's easier to understand
Bug: 66260943
Change-Id: I88c24a8a31ef68f428919087d206433659265684
diff --git a/cc/relocation_packer.go b/cc/relocation_packer.go
index c9f82ba..d9b367c 100644
--- a/cc/relocation_packer.go
+++ b/cc/relocation_packer.go
@@ -56,7 +56,7 @@
if ctx.AConfig().Getenv("DISABLE_RELOCATION_PACKER") == "true" {
enabled = false
}
- if ctx.sdk() {
+ if ctx.useSdk() {
enabled = false
}
if p.Properties.Pack_relocations != nil &&