Add unit tests for Java class dependency analysis

Unit tests are added for the three existing files in the
/src/tools/android/dependency_analysis directory, and a presubmit file
is added to run the tests automatically.

A small bug was also fixed in `` to only ignore lines of
the form `a -> not found   b` instead of ignoring lines with the substring `not
found` entirely (a valid form is `a -> b   not found`)

Bug: 1085063
Change-Id: I5e4d747977c1eba02b4416a083010f003dab15a4
Reviewed-by: Henrique Nakashima <>
Reviewed-by: Mohamed Heikal <>
Commit-Queue: James Long <>
Cr-Original-Commit-Position: refs/heads/master@{#771171}
Cr-Mirrored-Commit: d16518a359f054ea51141a613f72b119f165cc6c
7 files changed