diff options
author | 2019-03-29 20:20:16 +0000 | |
---|---|---|
committer | 2019-04-12 13:47:09 +0100 | |
commit | fb6a5c00ef02cda7ea919d717daaf46abd0414e4 (patch) | |
tree | 9ecfaac9bee174b3b31e0294c46c4d32a5f7b714 /libartbase/base/common_art_test.h | |
parent | f160394fda141184f0ec3d139ec5ca810f142bda (diff) |
Add and use art::GetAndroidRuntimeBinDir.
This method returns the location of the directory containing the
Android Runtime binaries, which is expected to be the Android Runtime
APEX's bin directory on target and the Android Root's bin directory on
host (at least for now).
Also remove art::CommonArtTestImpl::GetTestAndroidRoot as it is no
longer used.
Test: ART gtests on host and target
Bug: 121117762
Change-Id: I4593bbd4d675ca9d3f7b708482aac82c1892a9ad
Diffstat (limited to 'libartbase/base/common_art_test.h')
-rw-r--r-- | libartbase/base/common_art_test.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libartbase/base/common_art_test.h b/libartbase/base/common_art_test.h index a1f7cbb107..09264a7cb6 100644 --- a/libartbase/base/common_art_test.h +++ b/libartbase/base/common_art_test.h @@ -26,6 +26,7 @@ #include <android-base/logging.h> +#include "base/file_utils.h" #include "base/globals.h" #include "base/mutex.h" #include "base/os.h" @@ -184,8 +185,6 @@ class CommonArtTestImpl { void ClearDirectory(const char* dirpath, bool recursive = true); - std::string GetTestAndroidRoot(); - // Open a file (allows reading of framework jars). std::vector<std::unique_ptr<const DexFile>> OpenDexFiles(const char* filename); |