From 4305cf2797b2b7d2c5dea271e2dd37357477ba62 Mon Sep 17 00:00:00 2001 From: Ian Kasprzak Date: Tue, 12 Nov 2019 18:38:16 -0800 Subject: [PATCH] Switch from VENDOR_BLOBS_NOTICE to VENDOR_BLOBS_LICENSE. Update of build variable to VENDOR_BLOBS_LICENSE will be done via update to vendor-blob generation scripts. Bug: 125451157 Test: Verified output in out and dist folders (with local rename). Change-Id: I94190f0ef95a58464dceca912f8759023095fc7d --- core/tasks/with-license.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/tasks/with-license.mk b/core/tasks/with-license.mk index 1f7ae893c..daa68971b 100644 --- a/core/tasks/with-license.mk +++ b/core/tasks/with-license.mk @@ -29,8 +29,8 @@ with_license_intermediates := \ license_image_input_zip := $(with_license_intermediates)/$(name).zip $(license_image_input_zip) : $(BUILT_TARGET_FILES_PACKAGE) $(ZIP2ZIP) # DO NOT PROCEED without a license file. -ifndef VENDOR_BLOBS_NOTICE - @echo "with-license requires VENDOR_BLOBS_NOTICE to be set." +ifndef VENDOR_BLOBS_LICENSE + @echo "with-license requires VENDOR_BLOBS_LICENSE to be set." exit 1 else $(ZIP2ZIP) -i $(BUILT_TARGET_FILES_PACKAGE) -o $@ \ @@ -41,11 +41,11 @@ endif with_license_zip := $(PRODUCT_OUT)/$(name).sh $(with_license_zip): PRIVATE_NAME := $(name) $(with_license_zip): PRIVATE_INPUT_ZIP := $(license_image_input_zip) -$(with_license_zip): PRIVATE_VENDOR_BLOBS_NOTICE := $(VENDOR_BLOBS_NOTICE) -$(with_license_zip): $(license_image_input_zip) $(VENDOR_BLOBS_NOTICE) +$(with_license_zip): PRIVATE_VENDOR_BLOBS_LICENSE := $(VENDOR_BLOBS_LICENSE) +$(with_license_zip): $(license_image_input_zip) $(VENDOR_BLOBS_LICENSE) $(with_license_zip): $(HOST_OUT_EXECUTABLES)/generate-self-extracting-archive # Args: $(HOST_OUT_EXECUTABLES)/generate-self-extracting-archive $@ \ - $(PRIVATE_INPUT_ZIP) $(PRIVATE_NAME) $(PRIVATE_VENDOR_BLOBS_NOTICE) + $(PRIVATE_INPUT_ZIP) $(PRIVATE_NAME) $(PRIVATE_VENDOR_BLOBS_LICENSE) with-license : $(with_license_zip) $(call dist-for-goals, with-license, $(with_license_zip))