Install /system/product_services apps odex in system-other.

This will cause odex/vdex files for apps installed under
/system/product_services/{priv-,}app to be installed in system-other
instead of next to the APKs themselves.

This change is analogous to I63406f91acc3de4b4f142767e28d45308706c7da,
which was for /system/product apps.

Test: diff installed-files{,-system-other}.txt on pixel with a PS app
Bug: 80741439
Change-Id: I79fac41cb665a649028f1f0e30350d42e8b80598
This commit is contained in:
Anton Hansson 2018-08-24 14:56:58 +01:00
parent 8e639205d7
commit 648b0a875e
1 changed files with 7 additions and 1 deletions

View File

@ -21,7 +21,13 @@ DEX_PREOPT_DEFAULT ?= true
# The default filter for which files go into the system_other image (if it is
# being used). To bundle everything one should set this to '%'
SYSTEM_OTHER_ODEX_FILTER ?= app/% priv-app/% product/app/% product/priv-app/%
SYSTEM_OTHER_ODEX_FILTER ?= \
app/% \
priv-app/% \
product_services/app/% \
product_services/priv-app/% \
product/app/% \
product/priv-app/% \
# Method returning whether the install path $(1) should be for system_other.
# Under SANITIZE_LITE, we do not want system_other. Just put things under /data/asan.