Merge "Revert "Updated the way we build AFL++ fuzz binaries""
This commit is contained in:
@@ -531,6 +531,7 @@ var PrepareForTestWithCcBuildComponents = android.GroupFixturePreparers(
|
||||
android.FixtureRegisterWithContext(RegisterRequiredBuildComponentsForTest),
|
||||
android.FixtureRegisterWithContext(func(ctx android.RegistrationContext) {
|
||||
ctx.RegisterModuleType("cc_fuzz", LibFuzzFactory)
|
||||
ctx.RegisterModuleType("cc_afl_fuzz", AFLFuzzFactory)
|
||||
ctx.RegisterModuleType("cc_test", TestFactory)
|
||||
ctx.RegisterModuleType("cc_test_library", TestLibraryFactory)
|
||||
ctx.RegisterModuleType("vndk_prebuilt_shared", VndkPrebuiltSharedFactory)
|
||||
@@ -645,6 +646,7 @@ func CreateTestContext(config android.Config) *android.TestContext {
|
||||
ctx := android.NewTestArchContext(config)
|
||||
genrule.RegisterGenruleBuildComponents(ctx)
|
||||
ctx.RegisterModuleType("cc_fuzz", LibFuzzFactory)
|
||||
ctx.RegisterModuleType("cc_afl_fuzz", AFLFuzzFactory)
|
||||
ctx.RegisterModuleType("cc_test", TestFactory)
|
||||
ctx.RegisterModuleType("cc_test_library", TestLibraryFactory)
|
||||
ctx.RegisterModuleType("filegroup", android.FileGroupFactory)
|
||||
|
Reference in New Issue
Block a user