Merge changes from topic "is_stubs_module" into main

* changes:
  Improve determination whether to propagate JarJarProvider
  Introduce library property is_stubs_module
This commit is contained in:
LaMont Jones
2024-02-14 21:38:20 +00:00
committed by Gerrit Code Review
5 changed files with 176 additions and 9 deletions

View File

@@ -23,6 +23,7 @@ import (
"android/soong/android"
"android/soong/dexpreopt"
"github.com/google/blueprint"
"github.com/google/blueprint/proptools"
)
@@ -1245,6 +1246,7 @@ func (a *AARImport) GenerateAndroidBuildActions(ctx android.ModuleContext) {
TransitiveStaticLibsHeaderJars: a.transitiveStaticLibsHeaderJars,
ImplementationAndResourcesJars: android.PathsIfNonNil(a.classpathFile),
ImplementationJars: android.PathsIfNonNil(a.classpathFile),
StubsLinkType: Implementation,
// TransitiveAconfigFiles: // TODO(b/289117800): LOCAL_ACONFIG_FILES for prebuilts
})