[Android] Process all dependency jars when generating dependency json

generate_json_dependency_graph.py now takes as parameter a root build
target and parses all jars it depends on, directly or indirectly, rather
than parsing only a single jar.

Bug: 1081840
Change-Id: Ia05313ca178d917cb8e17a23af535f47525cfe96
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2285382
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Peter Wen <wnwen@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#786386}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 33dd036c9f0fad0defba16329d96f79056c4cb5a
7 files changed