Moving common fuzzing code to fuzz package

Test: make haiku and make haiku-rust
Change-Id: Ife80cc10672f51bd6afbae7061cc9373a2a15e7d
This commit is contained in:
hamzeh
2021-07-22 12:05:08 -07:00
committed by Hamzeh Zawawy
parent 60880e0517
commit c0a671fc80
7 changed files with 94 additions and 71 deletions

View File

@@ -29,6 +29,7 @@ import (
"android/soong/android"
"android/soong/cc/config"
"android/soong/fuzz"
"android/soong/genrule"
)
@@ -762,7 +763,7 @@ func IsTestPerSrcDepTag(depTag blueprint.DependencyTag) bool {
// members of the cc.Module to this decorator. Thus, a cc_binary module has custom linker and
// installer logic.
type Module struct {
FuzzModule
fuzz.FuzzModule
android.SdkBase
android.BazelModuleBase
@@ -3415,7 +3416,7 @@ func DefaultsFactory(props ...interface{}) android.Module {
&TestProperties{},
&TestBinaryProperties{},
&BenchmarkProperties{},
&FuzzProperties{},
&fuzz.FuzzProperties{},
&StlProperties{},
&SanitizeProperties{},
&StripProperties{},