commit | 05a3abfef34b7b7b0f4358c15fe5410cc088aa03 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Fri Nov 18 15:17:07 2016 -0800 |
committer | Josh Gao <jmgao@google.com> | Mon Nov 21 18:39:21 2016 -0800 |
tree | 40783e4d095a03f8c94c95a779352efee07d4aa7 | |
parent | b6552f376ca2903d987faa9b05808d72952af858 [diff] |
adb: make sure that file mode macros match linux. We use <sys/stat.h> mode macros on the host to parse modes sent over from the device, so they had better match. Add static_asserts to ensure this. (Also, fix the cases where they don't.) Test: mma -j48, compiled the static_asserts on darwin manually Change-Id: I883e4e6c7489ea64d3c02d26790ac8293366d989