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

Commit e49cbf79 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Implement fake vendor snapshot" am: 17652e89

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I122a5cb3efdad63c608cac2b709fbce11c7770f8
parents b2c6e5b2 17652e89
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -22,6 +22,11 @@ vendor-snapshot: $(SOONG_VENDOR_SNAPSHOT_ZIP)

$(call dist-for-goals, vendor-snapshot, $(SOONG_VENDOR_SNAPSHOT_ZIP))

.PHONY: vendor-fake-snapshot
vendor-fake-snapshot: $(SOONG_VENDOR_FAKE_SNAPSHOT_ZIP)

$(call dist-for-goals, vendor-fake-snapshot, $(SOONG_VENDOR_FAKE_SNAPSHOT_ZIP):fake/$(notdir $(SOONG_VENDOR_FAKE_SNAPSHOT_ZIP)))

else # BOARD_VNDK_VERSION is NOT set to 'current'

.PHONY: vendor-snapshot
@@ -31,4 +36,11 @@ vendor-snapshot:
		"CANNOT generate Vendor snapshot. BOARD_VNDK_VERSION must be set to 'current'.")
	exit 1

.PHONY: vendor-fake-snapshot
vendor-fake-snapshot: PRIVATE_MAKEFILE := $(current_makefile)
vendor-fake-snapshot:
	$(call echo-error,$(PRIVATE_MAKEFILE),\
		"CANNOT generate Vendor snapshot. BOARD_VNDK_VERSION must be set to 'current'.")
	exit 1

endif # BOARD_VNDK_VERSION