Merge "Build otatools files before building OTA packages." am: 49ccbb3729
Original change: https://android-review.googlesource.com/c/platform/build/+/1455215 Change-Id: I51c0c0b8753ebcae7555fb6a72c1d7eaa2255338
This commit is contained in:
commit
e5491533ae
1 changed files with 3 additions and 2 deletions
|
@ -4773,7 +4773,7 @@ INTERNAL_OTA_METADATA := $(PRODUCT_OUT)/ota_metadata
|
|||
|
||||
$(INTERNAL_OTA_PACKAGE_TARGET): KEY_CERT_PAIR := $(DEFAULT_KEY_CERT_PAIR)
|
||||
$(INTERNAL_OTA_PACKAGE_TARGET): .KATI_IMPLICIT_OUTPUTS := $(INTERNAL_OTA_METADATA)
|
||||
$(INTERNAL_OTA_PACKAGE_TARGET): $(BUILT_TARGET_FILES_PACKAGE) $(OTA_FROM_TARGET_FILES)
|
||||
$(INTERNAL_OTA_PACKAGE_TARGET): $(BUILT_TARGET_FILES_PACKAGE) $(OTA_FROM_TARGET_FILES) $(INTERNAL_OTATOOLS_FILES)
|
||||
@echo "Package OTA: $@"
|
||||
$(call build-ota-package-target,$@,-k $(KEY_CERT_PAIR) --output_metadata_path $(INTERNAL_OTA_METADATA))
|
||||
|
||||
|
@ -4791,7 +4791,8 @@ INTERNAL_OTA_RETROFIT_DYNAMIC_PARTITIONS_PACKAGE_TARGET := $(PRODUCT_OUT)/$(name
|
|||
$(INTERNAL_OTA_RETROFIT_DYNAMIC_PARTITIONS_PACKAGE_TARGET): KEY_CERT_PAIR := $(DEFAULT_KEY_CERT_PAIR)
|
||||
$(INTERNAL_OTA_RETROFIT_DYNAMIC_PARTITIONS_PACKAGE_TARGET): \
|
||||
$(BUILT_TARGET_FILES_PACKAGE) \
|
||||
$(OTA_FROM_TARGET_FILES)
|
||||
$(OTA_FROM_TARGET_FILES) \
|
||||
$(INTERNAL_OTATOOLS_FILES)
|
||||
@echo "Package OTA (retrofit dynamic partitions): $@"
|
||||
$(call build-ota-package-target,$@,-k $(KEY_CERT_PAIR) --retrofit_dynamic_partitions)
|
||||
|
||||
|
|
Loading…
Reference in a new issue