From 785049f8083e56e88dfeab5ff74fb3817f9854e3 Mon Sep 17 00:00:00 2001 From: Dmitriy Ivanov Date: Fri, 18 Jul 2014 10:08:57 -0700 Subject: Add paths to apk!lib/ 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 --- runtime/runtime.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'runtime/runtime.h') 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& 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 cpu_abilist_; + // Specifies target SDK version to allow workarounds for certain API levels. int32_t target_sdk_version_; -- cgit v1.1