diff options
author | Alex Light <allight@google.com> | 2020-08-31 15:48:25 -0700 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2020-09-03 17:07:33 +0000 |
commit | 1faacf59b9f74e9d2de4e0331ef0cdfcf132225d (patch) | |
tree | e8288e534e85a816b7eb818bf20085e1b46a3553 /compiler/optimizing/optimizing_compiler.cc | |
parent | 93deebfd2af0470b13973d51e2cce6c62a7344f4 (diff) |
Support running art gtests out-of-tree
Art host gtests would CHECK that the binary path was below
ANDROID_BUILD_TOP. This could cause problems for some build
configurations such as custom OUT_DIRs and using the vscode debugger.
Since having ANDROID_BUILD_TOP be correct is the only actually
important thing we can just ignore this discrepency. Change the test
setup to prefer ANDROID_BUILD_TOP if set and it differs from the
binary location.
Test: gtests
Change-Id: I566fd4c1b801efe87bf368caa41f2330f659b4b2
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
0 files changed, 0 insertions, 0 deletions