Refactoring fuzz packaging code

Rust and cc fuzz packaging have common. This change is to put this
common methods and fields into fuzz_common.

Test: make haiku and make haiku-rust ran locally and verify corpus,
dict and config are packaged along with the executable.

Change-Id: I04bf535cd2597ed8b2bd3d8e6ea8c28f38bdc18b
This commit is contained in:
hamzeh
2021-07-07 14:00:07 -07:00
parent 393bffee78
commit 41ad881e16
8 changed files with 291 additions and 325 deletions

View File

@@ -119,9 +119,7 @@ type BaseProperties struct {
}
type Module struct {
android.ModuleBase
android.DefaultableModuleBase
android.ApexModuleBase
cc.FuzzModule
VendorProperties cc.VendorProperties