Android: Reduce deps for prebuilts (reland)
Prebuilt jars do not need the full classpath since they are either jars ready to be passed to ijar, or they just need a dep on a non-java target to unzip the jar from its aar. Previously header jars could depend on impl jars due to passing the full classpath for prebuilt jars, but this should not happen as it defeats the purpose of header jars being fast to compile. Added a regression test to ensure chrome_java__header doesn't depend on base_java__impl. Original CL: https://crrev.com/c/2567618 Fixed: - Added back missing transitive header deps. Tbr: cduvall@chromium.org Bug: 1154302 Change-Id: Ib1810ee0c4646d14e8e75372427594c456be8366 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2567628Reviewed-by:Peter Wen <wnwen@chromium.org> Commit-Queue: Peter Wen <wnwen@chromium.org> Auto-Submit: Peter Wen <wnwen@chromium.org> Cr-Commit-Position: refs/heads/master@{#832551}
Showing
Please register or sign in to comment