summaryrefslogtreecommitdiff
path: root/scripts/gen-kotlin-build-file.py
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2022-10-21 21:52:13 +0000
committer Spandan Das <spandandas@google.com> 2022-10-22 02:26:30 +0000
commitc6c10fa34fbad353f3b6c7df5ceaef0c912542dc (patch)
treeb578fbf6e1ba4bdc4bb0ed365f47820c33014f94 /scripts/gen-kotlin-build-file.py
parentf0beebc52344587217e0579b34248dca81c8275e (diff)
Do not register missing deps
This is a fix to aosp/2260763 and skips the existence check corectly. Previously, it would not throw an exception during Soong analysis, but would add the path to a `MissingDeps` object. The ninja graph generated using this would throw an exception during ninja execution. We should not do this check for `cc_api_library`. The prebuilt library.so is missing in the build graph of the inner tree (expected), but it will be present when the orchestrator creates the combined multi-tree ninja graph. Test: rm -rf out && multitree_build vendor/vendorimage (I did not clean out/ in aosp/2260763, and therefore did not catch this earlier) Test: go test ./cc Change-Id: I68d245acae3bfb777bfc8a72fb7cd4909cb0a289
Diffstat (limited to 'scripts/gen-kotlin-build-file.py')
0 files changed, 0 insertions, 0 deletions