diff options
| author | 2019-04-26 13:25:45 +0100 | |
|---|---|---|
| committer | 2019-04-26 15:48:27 +0000 | |
| commit | 240cb2aa3c660f070e1fb1d630e01c13ba57c194 (patch) | |
| tree | 9307a4763a99517b93db11c235db4c76606e7ca7 /compiler/optimizing/optimizing_compiler.cc | |
| parent | 2cc9d343550d22e08536e0077893e6d86647c91a (diff) | |
FileUtils: Do not expect Android root without an ending slash
Logic for constructing paths in IsLocationOnModule assumes that Android
root is provided with a starting slash and without one at the end. Even
though our default settings match that, some users have reported crashes
with a custom ANDROID_ROOT env variable. Change logic to support both.
Bug: 130817106
Test: set ANDROID_ROOT and compile
Change-Id: Id83ca985b05bd4e8f85d7ca0b4c8aeea98aa21ee
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
0 files changed, 0 insertions, 0 deletions