Add trailing slash to mainline path claims.

Fixes a bug where system_other/ paths are considered part of
the "system" path.

Test: lunch mainline_arm64; m nothing
Change-Id: Id7aad41ea285f545260289f59e55c251677bdc38
This commit is contained in:
Anton Hansson 2018-10-12 11:10:17 +01:00
parent f77560ec12
commit f1fb31a301
1 changed files with 3 additions and 3 deletions

View File

@ -64,8 +64,8 @@ _my_whitelist := $(_base_mk_whitelist)
# Both /system and / are in system.img when PRODUCT_SHIPPING_API_LEVEL>=28.
# Though we do have a new ramdisk partition for logical partitions.
_my_paths := \
$(TARGET_COPY_OUT_ROOT) \
$(TARGET_COPY_OUT_SYSTEM) \
$(TARGET_COPY_OUT_RAMDISK) \
$(TARGET_COPY_OUT_ROOT)/ \
$(TARGET_COPY_OUT_SYSTEM)/ \
$(TARGET_COPY_OUT_RAMDISK)/ \
$(call require-artifacts-in-path, $(_my_paths), $(_my_whitelist))