move SetAconfigFileMkEntries to android

This will need to be called by some modules handled in android.

Bug: 308625757
Test: manual
Change-Id: Ic56e8ef3a453c59866aab6d39a21108cf8536b56
This commit is contained in:
LaMont Jones
2024-01-09 22:53:52 +00:00
parent 1e0a69a02e
commit acae2d7656
5 changed files with 21 additions and 25 deletions

View File

@@ -15,8 +15,6 @@
package cc
import (
"android/soong/aconfig"
"github.com/google/blueprint/proptools"
"fmt"
@@ -127,7 +125,7 @@ func (c *Module) AndroidMkEntries() []android.AndroidMkEntries {
entries.SetString("SOONG_SDK_VARIANT_MODULES",
"$(SOONG_SDK_VARIANT_MODULES) $(patsubst %.sdk,%,$(LOCAL_MODULE))")
}
aconfig.SetAconfigFileMkEntries(c.AndroidModuleBase(), entries, c.mergedAconfigFiles)
android.SetAconfigFileMkEntries(c.AndroidModuleBase(), entries, c.mergedAconfigFiles)
},
},
ExtraFooters: []android.AndroidMkExtraFootersFunc{