summaryrefslogtreecommitdiff
path: root/java/java_resources.go
diff options
context:
space:
mode:
author Chris Parsons <cparsons@google.com> 2022-04-25 22:35:15 -0400
committer Chris Parsons <cparsons@google.com> 2022-04-28 12:44:28 -0400
commit1a7aca075bad1e46567e6026df24521930ded6d1 (patch)
tree6dd92b4d6b6cab0c75f1ed38c054e3ede16d7555 /java/java_resources.go
parent126bd58e72a4d5370d0ea42f963e1650d04faf2b (diff)
Preserve depset structure from bazel aquery
Each depset now corresponds to a phony rule which depends on other depsets or on full paths; thus, bazel's depset structure is preserved in the form of phony rules of name bazel_depset_{id}. Previously, flattening and recopying large lists of file path strings was quite inefficient. This was particularly evident as we enumerated hundreds of clang headers for each cc compile action. This reduces soong_build analysis time by about 30% for mixed builds. It also reduces ninja file size by ~750MB. Fixes: 229405615 Test: Unit tests, manually verified metrics, mixed_droid CI Change-Id: I78df152ac1488ae0c6807afdde4b4ad5e6d26287
Diffstat (limited to 'java/java_resources.go')
0 files changed, 0 insertions, 0 deletions