summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_compiler.cc
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2019-04-26 13:25:45 +0100
committer David Brazdil <dbrazdil@google.com> 2019-04-26 15:48:27 +0000
commit240cb2aa3c660f070e1fb1d630e01c13ba57c194 (patch)
tree9307a4763a99517b93db11c235db4c76606e7ca7 /compiler/optimizing/optimizing_compiler.cc
parent2cc9d343550d22e08536e0077893e6d86647c91a (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