diff options
author | 2021-03-16 16:34:46 -0700 | |
---|---|---|
committer | 2021-03-16 23:55:50 +0000 | |
commit | 5a756a63e4fbe5f5eae08b804cd059309811e66f (patch) | |
tree | 5a94d78fa8994575b0590984498b892ae4861c4f /java/java_test.go | |
parent | eb32d6c2a6f5234e8fe23e25acd1f9edebc03e9d (diff) |
Check for frameworks/base/Android.bp instead of frameworks/base
Calling ExistentPathForSource from a PackageVarContext has to fall
back to a less optimal glob dependency implementation that adds the
file to out/soong/build.ninja.d. Checking for "frameworks/base"
adds the directory to build.ninja.d, resulting in any writes to that
directory potentially causing a regeneration. Check for
"frameworks/base/Android.bp", which will already cause a regeneration
if its timestamp changes and therefore not increase regenerations.
Bug: 158342713
Test: m nothing && touch frameworks/base/foo && m nothing
Change-Id: Iac7ac0445dbaa365c90e9a012f1f32020afc6c08
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions