summaryrefslogtreecommitdiffstats
path: root/runtime/parsed_options.cc
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/parsed_options.cc
parentf5988cf0c47ff935bb19c89ed0398be5fbe44bb6 (diff)
downloadart-785049f8083e56e88dfeab5ff74fb3817f9854e3.tar.gz
art-785049f8083e56e88dfeab5ff74fb3817f9854e3.tar.bz2
art-785049f8083e56e88dfeab5ff74fb3817f9854e3.zip
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/parsed_options.cc')
-rw-r--r--runtime/parsed_options.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/parsed_options.cc b/runtime/parsed_options.cc
index a53aeaa3d7..337c5df610 100644
--- a/runtime/parsed_options.cc
+++ b/runtime/parsed_options.cc
@@ -255,6 +255,9 @@ std::unique_ptr<RuntimeParser> ParsedOptions::MakeParser(bool ignore_unrecognize
.IntoKey(M::ZygoteMaxFailedBoots)
.Define("-Xno-dex-file-fallback")
.IntoKey(M::NoDexFileFallback)
+ .Define("--cpu-abilist=_")
+ .WithType<std::string>()
+ .IntoKey(M::CpuAbiList)
.Ignore({
"-ea", "-da", "-enableassertions", "-disableassertions", "--runtime-arg", "-esa",
"-dsa", "-enablesystemassertions", "-disablesystemassertions", "-Xrs", "-Xint:_",