summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2017-09-14 15:11:01 -0700
committerAndreas Gampe <agampe@google.com>2017-09-25 14:12:16 -0700
commit3f093891e55383055eecc940b724ee1f24f50123 (patch)
tree289006f142414b62066c55bc21b1a6b4d2d18656 /compiler/optimizing/graph_visualizer.cc
parentf2d23eefe95c35df3c910ae02834bb725147a277 (diff)
ART: Change GetAndroidRoot() handling
Change ART's very static setup for the root (=system) directory. This change still prefers the value of the ANDROID_ROOT environment variable. But as a second step, check the path of the running libart(d) and try to derive a folder by removing the library and library path component. Only if that fails attempt the static "/system." This requires a change to GetAndroidRoot's return type to std::string. Add a test of GetAndroidRootSafe to utils_test. Bug: 65679670 Test: m Test: m test-art-host-gtest-utils_test Test: m test-art-host Test: device boots Change-Id: Ica99eef8b0ab798f951d63a326f0e599a4a8b469
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions