Merge "Fix bug: repeated restricted effective conditions." am: b2233cf162 am: b06302ee80

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

Change-Id: Iac8cb1c87f52b888310e97ef38302cf486ab0ed2
This commit is contained in:
Treehugger Robot 2021-04-15 22:57:01 +00:00 committed by Automerger Merge Worker
commit fb05047eab

View file

@ -201,6 +201,7 @@ calculate_effective_conditions() {
for d in ${depfiles}; do
if cat "${d}" | egrep -q 'effective_condition\s*:.*restricted' ; then
lconditions="${lconditions}${lconditions:+ }restricted"
break
fi
done
;;