diff options
author | 2021-07-14 10:29:36 +0100 | |
---|---|---|
committer | 2021-08-31 17:07:07 +0100 | |
commit | 296701e35b96c232bc4c0af69cfe0e367fd54ef4 (patch) | |
tree | 8315ccc4bc1ffad392779a4efc2b08336f31cd9c /java/system_modules.go | |
parent | 45de13f93dc9c859fd763b320a80fb6d740c0a62 (diff) |
Refactor SdkMemberType.AddDependencies()
Replaces the BottomUpMutatorContext parameter with a new
SdkDependencyContext type that extends BottomUpMutatorContext. This is
to allow the sdk to pass additional information to the implementations
of that method to allow the behavior to be more finely tuned.
Bug: 195754365
Test: m nothing
Change-Id: I69c6d2c523934eb67d7a7e6c55c241e9b8a81773
Diffstat (limited to 'java/system_modules.go')
-rw-r--r-- | java/system_modules.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/system_modules.go b/java/system_modules.go index d0dc74adc..fec8ebaeb 100644 --- a/java/system_modules.go +++ b/java/system_modules.go @@ -245,8 +245,8 @@ type systemModulesSdkMemberType struct { android.SdkMemberTypeBase } -func (mt *systemModulesSdkMemberType) AddDependencies(mctx android.BottomUpMutatorContext, dependencyTag blueprint.DependencyTag, names []string) { - mctx.AddVariationDependencies(nil, dependencyTag, names...) +func (mt *systemModulesSdkMemberType) AddDependencies(ctx android.SdkDependencyContext, dependencyTag blueprint.DependencyTag, names []string) { + ctx.AddVariationDependencies(nil, dependencyTag, names...) } func (mt *systemModulesSdkMemberType) IsInstance(module android.Module) bool { |