platform_build_soong/cmd/fileslist
Sen Jiang 1b4141fbdf fileslist: hash the content of symlink, not the file it points to.
IsDir() doesn't handle the case where the file is a symlink to a
directory, which cause fileslist to crash.

The hash is used to validate whether system image is the same, so
hashing the content of symlink makes more sense.

Bug: 36274890
Test: joule builds
Change-Id: I6359418a5b28f8da13f85b01a30a72228fecf4ce
2017-03-29 13:43:41 -07:00
..
Android.bp Add fileslist.go to calculate hashes in parallel 2017-03-24 10:16:39 -07:00
fileslist.go fileslist: hash the content of symlink, not the file it points to. 2017-03-29 13:43:41 -07:00