Merge "Add /system/vendor/odm for VINTF search path"

This commit is contained in:
Yifan Hong 2019-12-23 22:26:55 +00:00 committed by Gerrit Code Review
commit dafae5228c
1 changed files with 3 additions and 1 deletions

View File

@ -38,11 +38,13 @@ OPTIONS = common.OPTIONS
# paths (VintfObject.cpp).
# These paths are stored in different directories in target files package, so
# we have to search for the correct path and tell checkvintf to remap them.
# Look for TARGET_COPY_OUT_* variables in board_config.mk for possible paths for
# each partition.
DIR_SEARCH_PATHS = {
'/system': ('SYSTEM',),
'/vendor': ('VENDOR', 'SYSTEM/vendor'),
'/product': ('PRODUCT', 'SYSTEM/product'),
'/odm': ('ODM', 'VENDOR/odm'),
'/odm': ('ODM', 'VENDOR/odm', 'SYSTEM/vendor/odm'),
}
UNZIP_PATTERN = ['META/*', '*/build.prop']