OSDN Git Service

Write VerifierDeps into VDEX.
authorDavid Brazdil <dbrazdil@google.com>
Wed, 14 Sep 2016 14:34:10 +0000 (15:34 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Wed, 21 Sep 2016 15:17:53 +0000 (16:17 +0100)
commit5d5a36bddbc008cd52a3207aa2b31177c47f9a49
treee847cf69c78cddb1d9a4bc273626827d170a524c
parent834582c4b023b5cea5775bef238ca1854a3425c4
Write VerifierDeps into VDEX.

This patch serializes VerifierDeps data and writes them into VDEX.
It also extends the VDEX header with sizes of the DEX and verifier
dependencies sections.

Bug: 30937355
Change-Id: I5aa5fc5eb8678533117138e445b757fa771973fb
compiler/oat_writer.cc
compiler/oat_writer.h
dex2oat/dex2oat.cc
runtime/vdex_file.cc
runtime/vdex_file.h