Merge "Account for "validations:"" am: b5f81d2a6a

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1901170

Change-Id: Ia6eb5b35de865b5f421e37db31186ce8c4fdfac9
This commit is contained in:
Treehugger Robot
2021-11-23 22:30:41 +00:00
committed by Automerger Merge Worker
2 changed files with 4 additions and 1 deletions

View File

@@ -67,6 +67,9 @@ function getDeps() {
$0 ~ /^\S\S*:$/ {
inoutput = 0
}
$1 == "validations:" {
inoutput = 0
}
inoutput != 0 {
print gensub(/^\s*/, "", "g")" "depth
}

View File

@@ -100,7 +100,7 @@ function getDeps() {
currFileName = ""
currExt = ""
}
$1 == "outputs:" {
$1 == "outputs:" || $1 == "validations:" {
ininput = 0
}
ininput == 0 && $0 ~ /^\S\S*:$/ {