commit | 4bf6a9ee50c2cdd5a6686d91f018396c744fe001 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Wed Jan 11 21:09:30 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Jan 11 21:09:30 2023 +0000 |
tree | e43a2e6a059de701a6b05d0faa1d82f33be14657 | |
parent | e0598a1cbd20d410d33d7849a3ef9f06e683031e [diff] | |
parent | dd5261c8d8471817942e50b63fa24d01cad3eb14 [diff] |
Merge "Fix ALLOW_MISSING_DEPENDENCIES builds for prebuilt JNI libraries"
diff --git a/java/app.go b/java/app.go index 3c5760b..845f850 100755 --- a/java/app.go +++ b/java/app.go
@@ -801,6 +801,8 @@ unstrippedFile: dep.UnstrippedOutputFile(), partition: dep.Partition(), }) + } else if ctx.Config().AllowMissingDependencies() { + ctx.AddMissingDependencies([]string{otherName}) } else { ctx.ModuleErrorf("dependency %q missing output file", otherName) }