OSDN Git Service

Read apex-info-file.xml to distinguish vendor apex
authorJooyung Han <jooyung@google.com>
Wed, 29 Jul 2020 16:15:18 +0000 (01:15 +0900)
committerJooyung Han <jooyung@google.com>
Mon, 3 Aug 2020 03:16:14 +0000 (12:16 +0900)
commitd32f7fa2697f38898c8c07459796bc823fa34666
treeed54fe99c35c157ad9aa955a9acc47f163a43c8c
parentd258eba1c464504c8b9a7ffd0ee4fcd5a1b148b9
Read apex-info-file.xml to distinguish vendor apex

/apex/apex-info-file.xml is the list of all apexes with preinstalled
path. By looking up original paths, we can figure out if an apex is
from /vendor or /system even if it is updated.

Bug: 159576928
Test: build & device boots
Change-Id: Ie32b10bfbdd9c1b6026c4b0fc93b57a2af6b5da5
Android.bp
main.cc
modules/apex.cc
modules/include/linkerconfig/apex.h