summaryrefslogtreecommitdiff
path: root/android/mutator.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-10-24 01:31:54 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-10-24 01:31:54 +0000
commit44b35ecc43347292a95dec396244f083f77c9bdc (patch)
tree4e86ebbaa5bb99ae872ea5b12838959f6a1359e2 /android/mutator.go
parentd1c410a3d05fa59e0297debd9c0a3d66ef6e479b (diff)
parent222874daedf5eb67dcbb2eca476f32292a3b63b5 (diff)
Merge "Introduce Soong API CreateModuleInDirectory(...)" into main
Diffstat (limited to 'android/mutator.go')
-rw-r--r--android/mutator.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/android/mutator.go b/android/mutator.go
index 6bd2e60b8..f2b94ac34 100644
--- a/android/mutator.go
+++ b/android/mutator.go
@@ -742,8 +742,12 @@ func (b *bottomUpMutatorContext) createModule(factory blueprint.ModuleFactory, n
return b.bp.CreateModule(factory, name, props...)
}
+func (b *bottomUpMutatorContext) createModuleInDirectory(factory blueprint.ModuleFactory, name string, _ string, props ...interface{}) blueprint.Module {
+ panic("createModuleInDirectory is not implemented for bottomUpMutatorContext")
+}
+
func (b *bottomUpMutatorContext) CreateModule(factory ModuleFactory, props ...interface{}) Module {
- return createModule(b, factory, "_bottomUpMutatorModule", props...)
+ return createModule(b, factory, "_bottomUpMutatorModule", doesNotSpecifyDirectory(), props...)
}
func (b *bottomUpMutatorContext) AddDependency(module blueprint.Module, tag blueprint.DependencyTag, name ...string) []blueprint.Module {