This gives us a JSON structure so we don't have to parse .dot output, which is nice. Tweak slightly the algorithm for cutting edges, so that DO_NOT_DISTRIBUTE is only detected if it is actually used. Because of the way Buck computes build cache keys for genrules, we need to handle Java and non-Java dependencies differently; see I09d95176 for a full explanation of this issue. Factor this logic out into a separate defs file for brevity. Change-Id: I6f6268e23074c714324c8e192157c85eb84c73c3
902 B
902 B