summaryrefslogtreecommitdiff
path: root/rust/source_provider.go
diff options
context:
space:
mode:
author Ivan Lozano <ivanlozano@google.com> 2020-07-29 00:25:42 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-07-29 00:25:42 +0000
commit3feff6c130c5318c04dcba3f9813f534835d15c4 (patch)
tree377f7565dccbc4ea03218bed09f13d5415fa48e9 /rust/source_provider.go
parent3d8e506c3ada481f8d55b3d887b25e6a03e8b671 (diff)
parent45901edb9a6ba7b42136a3ead126f94f76363eb7 (diff)
Merge changes I4efdf333,I4abaf8e7
* changes: Ensure hermetic device rust_bindgen. Generate deps file for rust_bindgen modules.
Diffstat (limited to 'rust/source_provider.go')
-rw-r--r--rust/source_provider.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/source_provider.go b/rust/source_provider.go
index e034d2c28..da6147a15 100644
--- a/rust/source_provider.go
+++ b/rust/source_provider.go
@@ -33,7 +33,7 @@ type baseSourceProvider struct {
var _ SourceProvider = (*baseSourceProvider)(nil)
type SourceProvider interface {
- generateSource(ctx android.ModuleContext) android.Path
+ generateSource(ctx android.ModuleContext, deps PathDeps) android.Path
Srcs() android.Paths
sourceProviderProps() []interface{}
sourceProviderDeps(ctx DepsContext, deps Deps) Deps
@@ -43,7 +43,7 @@ func (sp *baseSourceProvider) Srcs() android.Paths {
return android.Paths{sp.outputFile}
}
-func (sp *baseSourceProvider) generateSource(ctx android.ModuleContext) android.Path {
+func (sp *baseSourceProvider) generateSource(ctx android.ModuleContext, deps PathDeps) android.Path {
panic("baseSourceProviderModule does not implement generateSource()")
}