Revert "Updated the way we build AFL++ fuzz binaries"
Revert submission 2164482-Build AFL from Command line option Reason for revert: Unit test fails on MAC builds Reverted Changes: Ia7a822462:Updated the way we build AFL++ fuzz binaries I994bde63b:Updated the way we build AFL++ fuzz binaries Ie863853b4:Updated the way we build AFL++ fuzz binaries I577d6ae7b:Updated the way we build AFL++ fuzz binaries Ic4fd34f8d:Updated the way we build AFL++ fuzz binaries Change-Id: Ic2cda7733d206d7ed178f1db5e38268bc915e57b
This commit is contained in:
@@ -535,6 +535,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)
|
||||
@@ -649,6 +650,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