summaryrefslogtreecommitdiff
path: root/android/deapexer.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-06-17 14:56:05 +0100
committer Paul Duffin <paulduffin@google.com> 2021-06-17 14:56:05 +0100
commitfef5500a766d1f515ff19038e8e0e8f606e07287 (patch)
tree7b26aea6ab65d764773299871c257aa50934531f /android/deapexer.go
parentf45966f35b10be5e53111d9f5f29fdb4cdf140fd (diff)
Remove javalib special case in createDeapexerModuleIfNeeded
Removes the special case in createDeapexerModuleIfNeeded for handling java libraries and just get the Import and SdkLibraryImport module types to implement RequiredFilesFromPrebuiltApex instead. Bug: 177892522 Test: m nothing Change-Id: I5cc341b5b4168b8eb196f72273a00d498de6856f
Diffstat (limited to 'android/deapexer.go')
-rw-r--r--android/deapexer.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/android/deapexer.go b/android/deapexer.go
index f3c541c17..c189dc114 100644
--- a/android/deapexer.go
+++ b/android/deapexer.go
@@ -128,3 +128,12 @@ type RequiredFilesFromPrebuiltApex interface {
// can then be retrieved using the PrebuiltExportPath(name, tag) method.
RequiredFilesFromPrebuiltApex(ctx BaseModuleContext) map[string]string
}
+
+// Marker interface that identifies dependencies on modules that may require files from a prebuilt
+// apex.
+type RequiresFilesFromPrebuiltApexTag interface {
+ blueprint.DependencyTag
+
+ // Method that differentiates this interface from others.
+ RequiresFilesFromPrebuiltApex()
+}