Merge "rearrange app-related artifact path in make" am: 73d29f11b8

Original change: https://android-review.googlesource.com/c/platform/build/+/2554553

Change-Id: I5f68611bc2ee8d0f3dfeb4a4faec03596c6695b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-04-24 18:50:30 +00:00 committed by Automerger Merge Worker
commit 28ecb7a712
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
include $(CLEAR_VARS)
enforce_rro_module := $(enforce_rro_source_module)__auto_generated_rro_$(enforce_rro_partition)
enforce_rro_module := $(enforce_rro_source_module)__$(PRODUCT_NAME)__auto_generated_rro_$(enforce_rro_partition)
LOCAL_PACKAGE_NAME := $(enforce_rro_module)
intermediates := $(call intermediates-dir-for,APPS,$(LOCAL_PACKAGE_NAME),,COMMON)

View file

@ -201,10 +201,10 @@ my_res_resources := $(if $(my_res_dir),$(strip \
all_resources := $(strip $(my_res_resources) $(my_overlay_resources))
# The linked resource package.
my_res_package := $(intermediates)/package-res.apk
my_res_package := $(intermediates.COMMON)/package-res.apk
LOCAL_INTERMEDIATE_TARGETS += $(my_res_package)
my_bundle_module := $(intermediates)/base.zip
my_bundle_module := $(intermediates.COMMON)/base.zip
LOCAL_INTERMEDIATE_TARGETS += $(my_bundle_module)
# Always run aapt2, because we need to at least compile the AndroidManifest.xml.
@ -570,7 +570,7 @@ ifdef LOCAL_COMPRESSED_MODULE
$(compress-package)
endif # LOCAL_COMPRESSED_MODULE
my_package_res_pb := $(intermediates)/package-res.pb.apk
my_package_res_pb := $(intermediates.COMMON)/package-res.pb.apk
$(my_package_res_pb): $(my_res_package) $(AAPT2)
$(AAPT2) convert --output-format proto $< -o $@