summaryrefslogtreecommitdiffstats
path: root/runtime/runtime.h
diff options
context:
space:
mode:
authorDmitriy Ivanov <dimitry@google.com>2014-07-18 10:08:57 -0700
committerDmitriy Ivanov <dimitry@google.com>2015-03-23 11:38:54 -0700
commit785049f8083e56e88dfeab5ff74fb3817f9854e3 (patch)
treeab06a7fb4acb2ed73eed4b58327ba485f61560c4 /runtime/runtime.h
parentf5988cf0c47ff935bb19c89ed0398be5fbe44bb6 (diff)
downloadart-785049f8083e56e88dfeab5ff74fb3817f9854e3.zip
art-785049f8083e56e88dfeab5ff74fb3817f9854e3.tar.gz
art-785049f8083e56e88dfeab5ff74fb3817f9854e3.tar.bz2
Add paths to apk!lib/<abi> to LD_LIBRARY_PATH
Add paths to .apk to LD_LIBRARY_PATH to enable bionic linker's "open from zip-file" feature. Bug: 8076853 Change-Id: I1aa2c039bb2a590ae72f256acc9ba5401c2c59b1
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index 7f33547..9a04835 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -524,6 +524,10 @@ class Runtime {
return allow_dex_file_fallback_;
}
+ const std::vector<std::string>& GetCpuAbilist() const {
+ return cpu_abilist_;
+ }
+
bool RunningOnValgrind() const {
return running_on_valgrind_;
}
@@ -706,6 +710,9 @@ class Runtime {
// available/usable.
bool allow_dex_file_fallback_;
+ // List of supported cpu abis.
+ std::vector<std::string> cpu_abilist_;
+
// Specifies target SDK version to allow workarounds for certain API levels.
int32_t target_sdk_version_;