forked from openkylin/platform_build
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:
commit
fb05047eab
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue