Error for comparing wildcard results
hooneygogo opened this issue · comments
Yeonghun commented
Test case:
$ cat Android.mk
...
include $(LOCAL_PATH)/*/Android.mk
and suppose we have several sub-dirs which contain Android.mk file.
(e.g. a/Android.mk, b/Android.mk, c/Android.mk ... z/Android.mk)
Kati have been comparing a previous result of wildcard after sorted to a new result of wildcard without sorted. (https://github.com/google/kati/blob/master/regen.cc#L266)
The new result of wildcard should be also sorted before comparing with the previous one.
For now, kati dected "wildcard" results in the above cases as changed so always regenerate .ninja.
Shinichiro Hamaji commented
Fixed, I think.