diff options
author | 2022-04-20 21:21:55 -0700 | |
---|---|---|
committer | 2022-04-21 21:03:02 +0000 | |
commit | de3604453f61e4740afa5a85a1b09f0b8e793792 (patch) | |
tree | 2cbbb7ca4df3b1d1c025d76f13734662443e1634 /java/kotlin.go | |
parent | 7023c80e1983df9d074d9d32b1f68c70dd003d9c (diff) |
Fix some problems with soong metrics loading
If we didn't need to run soong_build during the current run, we still
try to load the soong metrics. But in the case of `dist`, that's in a
directory that is not guaranteed to persist between runs.
Make loading the soong metrics optional if the file does not exist. Also
fixes a variable shadowing issue that meant we never passed it into
ctx.Metrics.
Test: treehugger
Change-Id: Ic836282f4d13e91daa0e7241ad7c488de3293d8b
Diffstat (limited to 'java/kotlin.go')
0 files changed, 0 insertions, 0 deletions