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

Commit c2c2824f authored by Colin Cross's avatar Colin Cross Committed by android-build-merger
Browse files

Merge "Fix panic when missing hiddenapi jar" am: f5df780f

am: f5a8e0e8

Change-Id: Id434ff90e8e23a84d751ce1dfb5ec674b3434333
parents 2278b4ea f5a8e0e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -159,9 +159,9 @@ func stubFlagsRule(ctx android.SingletonContext) {
	for moduleList, pathList := range moduleListToPathList {
		for i := range pathList {
			if pathList[i] == nil {
				pathList[i] = android.PathForOutput(ctx, "missing")
				if ctx.Config().AllowMissingDependencies() {
					missingDeps = append(missingDeps, (*moduleList)[i])
					pathList[i] = android.PathForOutput(ctx, "missing")
				} else {
					ctx.Errorf("failed to find dex jar path for module %q",
						(*moduleList)[i])