OSDN Git Service

Support to pass <uses-library> option through to dex2oat.
authorJeff Hao <jeffhao@google.com>
Wed, 27 Apr 2016 18:07:41 +0000 (11:07 -0700)
committerJeff Hao <jeffhao@google.com>
Wed, 27 Apr 2016 18:17:33 +0000 (18:17 +0000)
commit5872d7cd6ceffe67550d0b021191ec66f1a34c5d
tree635983aa778860f12ac1b249d88fc06d99555910
parent2a894f433d126d6e8694c6235e29e66ef45a31d9
Support to pass <uses-library> option through to dex2oat.

This change takes an app's shared libraries specified by <uses-library>
and passes it through to dex2oat to be used during compilation.

Part of a multi-project change.

Includes fix from a6d46161aea07ebd1cbd6ab78b2b323f940e9c1e

Bug: 26880306

(cherry-picked from commit 26e8a2f150cd7f7195a10650ab8a5b6fa5014bc8)

Change-Id: I6bfc13693dbb835ca52fed2d03ec5346d43ec5d9
13 files changed:
dex2oat/dex2oat.cc
runtime/class_linker.cc
runtime/class_linker.h
runtime/gc/heap.cc
runtime/oat.h
runtime/oat_file.h
runtime/oat_file_assistant.cc
runtime/oat_file_assistant_test.cc
runtime/oat_file_manager.cc
runtime/oat_file_manager.h
runtime/runtime.cc
test/138-duplicate-classes-check/src/FancyLoader.java [deleted file]
test/138-duplicate-classes-check/src/Main.java