Reimplement afdo support for rust
Ignore-AOSP-First: The parent CL is internal Bug: 267229065 Test: go test Change-Id: Ia14679285b92f3f14ff269392a61f978c71311b2 Merged-In: Ia14679285b92f3f14ff269392a61f978c71311b2
This commit is contained in:
@@ -670,6 +670,12 @@ var PrepareForTestWithHostMusl = android.GroupFixturePreparers(
|
||||
`),
|
||||
)
|
||||
|
||||
// PrepareForTestWithFdoProfile registers module types to test with fdo_profile
|
||||
var PrepareForTestWithFdoProfile = android.FixtureRegisterWithContext(func(ctx android.RegistrationContext) {
|
||||
ctx.RegisterModuleType("soong_namespace", android.NamespaceFactory)
|
||||
ctx.RegisterModuleType("fdo_profile", fdoProfileFactory)
|
||||
})
|
||||
|
||||
// TestConfig is the legacy way of creating a test Config for testing cc modules.
|
||||
//
|
||||
// See testCc for an explanation as to how to stop using this deprecated method.
|
||||
|
Reference in New Issue
Block a user