summaryrefslogtreecommitdiff
path: root/android/module.go
diff options
context:
space:
mode:
author Priyanka Advani (xWF) <padvani@google.com> 2024-10-17 18:58:08 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-10-17 18:58:08 +0000
commit37e6794ad44926e64c1f733dbe32bbf5a40efe77 (patch)
tree3bf5364d702d0d681f64f9e0629a93eab7fcebee /android/module.go
parent5640008749795a6ebfb2680e28daa6b067207ce8 (diff)
Revert "Convert cc modules to use AndroidMkInfoProvider."
This reverts commit 5640008749795a6ebfb2680e28daa6b067207ce8. Reason for revert: Droidmonitor created revert due to b/374130363. Will be verifying through ABTD before submission. Change-Id: Iced10a8b71766826465966e9370cdd5e347e7b79
Diffstat (limited to 'android/module.go')
-rw-r--r--android/module.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/android/module.go b/android/module.go
index 197953679..8415118cb 100644
--- a/android/module.go
+++ b/android/module.go
@@ -539,13 +539,6 @@ func (t *CommonTestOptions) SetAndroidMkEntries(entries *AndroidMkEntries) {
}
}
-func (t *CommonTestOptions) SetAndroidMkInfoEntries(entries *AndroidMkInfo) {
- entries.SetBoolIfTrue("LOCAL_IS_UNIT_TEST", Bool(t.Unit_test))
- if len(t.Tags) > 0 {
- entries.AddStrings("LOCAL_TEST_OPTIONS_TAGS", t.Tags...)
- }
-}
-
// The key to use in TaggedDistFiles when a Dist structure does not specify a
// tag property. This intentionally does not use "" as the default because that
// would mean that an empty tag would have a different meaning when used in a dist
@@ -2083,10 +2076,6 @@ func (m *ModuleBase) GenerateBuildActions(blueprintCtx blueprint.ModuleContext)
SetProvider(ctx, HostToolProviderKey, HostToolProviderData{
HostToolPath: h.HostToolPath()})
}
-
- if p, ok := m.module.(AndroidMkProviderInfoProducer); ok && !shouldSkipAndroidMkProcessing(ctx, m) {
- SetProvider(ctx, AndroidMkInfoProvider, p.PrepareAndroidMKProviderInfo(ctx.Config()))
- }
}
func SetJarJarPrefixHandler(handler func(ModuleContext)) {