Support removing suffix for device specific prebuilt during build
Some device specific prebuilts have a suffix that varies depending on the lunch target. The resulting install dependency binary has the suffix. The fuzzer build expects the presubmit binary without the suffix. This change is to drop the suffix. Test: make haiku Change-Id: I8eadd84bf5797659b17bc428dca47b7c3f382aff
This commit is contained in:
2
cc/cc.go
2
cc/cc.go
@@ -1086,7 +1086,7 @@ func (c *Module) FuzzPackagedModule() fuzz.FuzzPackagedModule {
|
||||
panic(fmt.Errorf("FuzzPackagedModule called on non-fuzz module: %q", c.BaseModuleName()))
|
||||
}
|
||||
|
||||
func (c *Module) FuzzSharedLibraries() android.Paths {
|
||||
func (c *Module) FuzzSharedLibraries() android.RuleBuilderInstalls {
|
||||
if fuzzer, ok := c.compiler.(*fuzzBinary); ok {
|
||||
return fuzzer.sharedLibraries
|
||||
}
|
||||
|
Reference in New Issue
Block a user