Merge "implement InstallDepNeeded for sdkLibraryComponentTag" into main am: 1bd60b7c79
am: 479452bfe0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3095012 Change-Id: I306682cf799f81d2bbdd50bce34ba0ed8ce36b80 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1504,6 +1504,12 @@ func IsXmlPermissionsFileDepTag(depTag blueprint.DependencyTag) bool {
|
|||||||
|
|
||||||
var implLibraryTag = sdkLibraryComponentTag{name: "impl-library"}
|
var implLibraryTag = sdkLibraryComponentTag{name: "impl-library"}
|
||||||
|
|
||||||
|
var _ android.InstallNeededDependencyTag = sdkLibraryComponentTag{}
|
||||||
|
|
||||||
|
func (t sdkLibraryComponentTag) InstallDepNeeded() bool {
|
||||||
|
return t.name == "xml-permissions-file" || t.name == "impl-library"
|
||||||
|
}
|
||||||
|
|
||||||
// Add the dependencies on the child modules in the component deps mutator.
|
// Add the dependencies on the child modules in the component deps mutator.
|
||||||
func (module *SdkLibrary) ComponentDepsMutator(ctx android.BottomUpMutatorContext) {
|
func (module *SdkLibrary) ComponentDepsMutator(ctx android.BottomUpMutatorContext) {
|
||||||
for _, apiScope := range module.getGeneratedApiScopes(ctx) {
|
for _, apiScope := range module.getGeneratedApiScopes(ctx) {
|
||||||
|
Reference in New Issue
Block a user