commit | 8998a8dfcec363023a3c94c80c6563abad8b0221 | [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 | f407cc8ea24c18bff2354e22c1131a70435025bb | |
parent | de5785da7a7399c8c1860397b2a90c2072287661 [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