commit | 58021d15c94eb6a81d2673634956b5374af6a1e5 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Feb 23 21:23:05 2017 -0800 |
committer | Colin Cross <ccross@android.com> | Mon Feb 27 18:18:31 2017 -0800 |
tree | 8c0b0a97ac977600f45e75fc1d6664594e30b56c | |
parent | 0cde0eae09e1a3751bb0d921e289ba5cdc228965 [diff] |
Move adb_dirname and adb_basename to libbase adb already provides an implementation of dirname and basename that take and produce std::strings, move it into libbase so it can be used in the implementation of GetExecutableDirectory. Test: out/host/linux-x86/nativetest64/adb_test/adb_test Test: out/host/linux-x86/nativetest64/libbase_test/libbase_test Test: adb shell /data/nativetest64/libbase_test/libbase_test64 Change-Id: Ideb1627607b14562121316d4ed27fa6fb0930684