Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19e8ab71 authored by Colin Cross's avatar Colin Cross Committed by android-build-merger
Browse files

Merge "Move check-all-partition-sizes to a non-phony rule" am: 2ee5efd8 am: 46854947

am: 55a499b2

Change-Id: I653a5be7ddb758c78755efc866eb1984532868e6
parents da8e0e7b 55a499b2
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -3382,8 +3382,12 @@ droid_targets: check-all-partition-sizes

.PHONY: check-all-partition-sizes check-all-partition-sizes-nodeps

check_all_partition_sizes_file := $(call intermediates-dir-for,PACKAGING,check-all-partition-sizes)/timestamp

check-all-partition-sizes: $(check_all_partition_sizes_file)

# Add image dependencies so that generated_*_image_info.txt are written before checking.
check-all-partition-sizes: \
$(check_all_partition_sizes_file): \
    build/make/tools/releasetools/sparse_img.py \
    $(call images-for-partitions,$(BOARD_SUPER_PARTITION_PARTITION_LIST))

@@ -3451,7 +3455,12 @@ define check-all-partition-sizes-target
  fi
endef

check-all-partition-sizes check-all-partition-sizes-nodeps:
$(check_all_partition_sizes_file):
	$(call check-all-partition-sizes-target)
	$(call check-super-partition-size)
	touch $@

check-all-partition-sizes-nodeps:
	$(call check-all-partition-sizes-target)
	$(call check-super-partition-size)