commit | 7e15a236a3264e6ca6069b1c3aa9c896df5ab4de | [log] [tgz] |
---|---|---|
author | Hsin-Yi Chen <hsinyichen@google.com> | Fri Jun 19 19:32:10 2020 +0800 |
committer | Hsin-Yi Chen <hsinyichen@google.com> | Wed Jun 24 14:36:08 2020 +0800 |
tree | 6934e7bd4cb69ae5d63432e1e331c18c1a440647 | |
parent | acd0ad6ab9d42b55e939c4857062999087179fb3 [diff] |
Write relative paths to source_file fields in sdump This commit adds --root-dir as a parameter to the ABI tools. It defaults to current working directory. The source_file fields in the dump files are relative to the root dir, so the file content doesn't depend on the absolute path to Android source tree. Test: ./header-checker-unittests Test: ./test.py Bug: 154177636 Change-Id: Ia07d0d3b913c921e9e91ea01c4f1e9c3c62c6ea9