Merge "Add .product suffix for the product variants" into main am: 251ad2f41f
am: 602c9df271
Original change: https://android-review.googlesource.com/c/platform/build/+/2829418 Change-Id: I751168efb5ea5a947c5035effacd1d891f1fc172 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -129,9 +129,14 @@ ifdef LOCAL_INSTALLED_MODULE
|
||||
ifdef LOCAL_SHARED_LIBRARIES
|
||||
my_shared_libraries := $(LOCAL_SHARED_LIBRARIES)
|
||||
ifdef LOCAL_USE_VNDK
|
||||
ifdef LOCAL_USE_VNDK_PRODUCT
|
||||
my_shared_libraries := $(foreach l,$(my_shared_libraries),\
|
||||
$(if $(SPLIT_PRODUCT.SHARED_LIBRARIES.$(l)),$(l).product,$(l)))
|
||||
else
|
||||
my_shared_libraries := $(foreach l,$(my_shared_libraries),\
|
||||
$(if $(SPLIT_VENDOR.SHARED_LIBRARIES.$(l)),$(l).vendor,$(l)))
|
||||
endif
|
||||
endif
|
||||
$(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)DEPENDENCIES_ON_SHARED_LIBRARIES += \
|
||||
$(my_register_name):$(LOCAL_INSTALLED_MODULE):$(subst $(space),$(comma),$(my_shared_libraries))
|
||||
endif
|
||||
@@ -139,9 +144,14 @@ ifdef LOCAL_INSTALLED_MODULE
|
||||
my_dylibs := $(LOCAL_DYLIB_LIBRARIES)
|
||||
# Treat these as shared library dependencies for installation purposes.
|
||||
ifdef LOCAL_USE_VNDK
|
||||
ifdef LOCAL_USE_VNDK_PRODUCT
|
||||
my_dylibs := $(foreach l,$(my_dylibs),\
|
||||
$(if $(SPLIT_PRODUCT.SHARED_LIBRARIES.$(l)),$(l).product,$(l)))
|
||||
else
|
||||
my_dylibs := $(foreach l,$(my_dylibs),\
|
||||
$(if $(SPLIT_VENDOR.SHARED_LIBRARIES.$(l)),$(l).vendor,$(l)))
|
||||
endif
|
||||
endif
|
||||
$(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)DEPENDENCIES_ON_SHARED_LIBRARIES += \
|
||||
$(my_register_name):$(LOCAL_INSTALLED_MODULE):$(subst $(space),$(comma),$(my_dylibs))
|
||||
endif
|
||||
|
Reference in New Issue
Block a user