Replace ModuleContext.AConfig() with Config()
AConfig() now duplicates Config(). Replace the uses of AConfig() with Config(). Leave AConfig() for now until code in other projects is cleaned up. Test: m checkbuild Change-Id: Ic88be643049d21dba45dbd1a65588ed94bf43bdc
This commit is contained in:
@@ -53,7 +53,7 @@ func (p *relocationPacker) packingInit(ctx BaseModuleContext) {
|
||||
if ctx.Target().Os != android.Android {
|
||||
enabled = false
|
||||
}
|
||||
if ctx.AConfig().Getenv("DISABLE_RELOCATION_PACKER") == "true" {
|
||||
if ctx.Config().Getenv("DISABLE_RELOCATION_PACKER") == "true" {
|
||||
enabled = false
|
||||
}
|
||||
if ctx.useSdk() {
|
||||
@@ -68,7 +68,7 @@ func (p *relocationPacker) packingInit(ctx BaseModuleContext) {
|
||||
}
|
||||
|
||||
func (p *relocationPacker) needsPacking(ctx ModuleContext) bool {
|
||||
if ctx.AConfig().EmbeddedInMake() {
|
||||
if ctx.Config().EmbeddedInMake() {
|
||||
return false
|
||||
}
|
||||
return p.Properties.PackingRelocations
|
||||
|
Reference in New Issue
Block a user