Merge "Use generated merged annotations.zip in SDK build"

This commit is contained in:
Anton Hansson
2021-10-18 09:54:05 +00:00
committed by Gerrit Code Review
2 changed files with 3 additions and 2 deletions

View File

@@ -106,7 +106,8 @@ ALL_SDK_FILES += $(full_target)
$(call dist-for-goals,sdk win_sdk,$(full_target):data/api-versions.xml) $(call dist-for-goals,sdk win_sdk,$(full_target):data/api-versions.xml)
# ======= Lint Annotations zip =========== # ======= Lint Annotations zip ===========
full_target := $(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/framework-doc-stubs_annotations.zip full_target := $(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/sdk-annotations.zip
$(eval $(call copy-one-file,$(call intermediates-dir-for,ETC,sdk-annotations.zip)/sdk-annotations.zip,$(full_target)))
ALL_SDK_FILES += $(full_target) ALL_SDK_FILES += $(full_target)
$(call dist-for-goals,sdk win_sdk,$(full_target):data/annotations.zip) $(call dist-for-goals,sdk win_sdk,$(full_target):data/annotations.zip)

View File

@@ -95,7 +95,7 @@ ${OUT_DIR}/target/common/obj/PACKAGING/framework-doc-stubs_generated-api-version
# API annotations database for lint # API annotations database for lint
prebuilts/sdk/sdk-annotations/annotations.zip platforms/${PLATFORM_NAME}/data/annotations.zip prebuilts/sdk/sdk-annotations/annotations.zip platforms/${PLATFORM_NAME}/data/annotations.zip
${OUT_DIR}/target/common/obj/PACKAGING/framework-doc-stubs_annotations.zip platforms/${PLATFORM_NAME}/data/annotations.zip ${OUT_DIR}/target/common/obj/PACKAGING/sdk-annotations.zip platforms/${PLATFORM_NAME}/data/annotations.zip
# Eclipse Editors support # Eclipse Editors support
frameworks/base/core/res/res platforms/${PLATFORM_NAME}/data/res frameworks/base/core/res/res platforms/${PLATFORM_NAME}/data/res