commit | fa416f9bec39a2ef25d5b83070e7ca0e450a2549 | [log] [tgz] |
---|---|---|
author | Bowgo Tsai <bowgotsai@google.com> | Mon Jan 07 15:30:27 2019 +0800 |
committer | Bowgo Tsai <bowgotsai@google.com> | Tue Jan 08 17:56:56 2019 +0800 |
tree | 53768a5d39496daa56518e6711e42229240d52e8 | |
parent | 2fc9f626073a4977969de6b33605d01f082091d4 [diff] |
Support host build for libdm and libfstab The host builds for both libs are needed for libfs_avb host unit test. Also replaces strlcat()/strlcpy() with snprintf() because the former doesn't have a glibc version. Or switch char* to std::string*. Bug: 112103720 Bug: 117960205 Test: m libdm ARCH=x86_64 Test: m libfstab ARCH=x86_64 Test: atest libdm_test Test: atest fs_mgr_unit_test Test: boot a device Change-Id: Id9b92b5286b8ed9ab0d80f18ab5802dcfeb83dfa