summaryrefslogtreecommitdiff
path: root/java/app_import.go
diff options
context:
space:
mode:
Diffstat (limited to 'java/app_import.go')
-rw-r--r--java/app_import.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/java/app_import.go b/java/app_import.go
index dc1aa740f..a122510de 100644
--- a/java/app_import.go
+++ b/java/app_import.go
@@ -628,7 +628,15 @@ func (a *AndroidAppImport) Privileged() bool {
return Bool(a.properties.Privileged)
}
-func (a *AndroidAppImport) OutgoingDepIsInSameApex(tag blueprint.DependencyTag) bool {
+func (m *AndroidAppImport) GetDepInSameApexChecker() android.DepInSameApexChecker {
+ return AppImportDepInSameApexChecker{}
+}
+
+type AppImportDepInSameApexChecker struct {
+ android.BaseDepInSameApexChecker
+}
+
+func (m AppImportDepInSameApexChecker) OutgoingDepIsInSameApex(tag blueprint.DependencyTag) bool {
// android_app_import might have extra dependencies via uses_libs property.
// Don't track the dependency as we don't automatically add those libraries
// to the classpath. It should be explicitly added to java_libs property of APEX