Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c76f18a authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Don't include artifacts for host-cross targets"

parents b7c77bd8 ccb406fc
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1499,6 +1499,12 @@ func (a *apexBundle) DepsMutator(ctx android.BottomUpMutatorContext) {
		}
	}
	for i, target := range targets {
		if target.HostCross {
			// Don't include artifats for the host cross targets because there is no way
			// for us to run those artifacts natively on host
			continue
		}

		// When multilib.* is omitted for native_shared_libs/jni_libs/tests, it implies
		// multilib.both
		addDependenciesForNativeModules(ctx,