OSDN Git Service

Replace dexopt shared libraries with class loader context
authorCalin Juravle <calin@google.com>
Fri, 14 Jul 2017 05:50:21 +0000 (22:50 -0700)
committerCalin Juravle <calin@google.com>
Wed, 19 Jul 2017 22:50:54 +0000 (15:50 -0700)
commit1d66761379b54ff71094a7c722f131c591f3f897
treed249ffe05efeb664fd14647cddc5679142c86649
parent75e6bba56699305ecbe52f1fd2b983652cdb9538
Replace dexopt shared libraries with class loader context

Pass the class loader context to dex2oat with --class-loader-context
instead of using the runtime -cp argument.

Test: adb shell cmd package compile a_split_test_apk
Bug: 38138251
Change-Id: I2e483969af8adf97291aa94f42e6da9ee5f1716b
cmds/installd/InstalldNativeService.cpp
cmds/installd/InstalldNativeService.h
cmds/installd/dexopt.cpp
cmds/installd/dexopt.h