Disable verity metadata for eng builds

We don't have dm-verity enabled on eng builds, so don't waste time
generating metadata for images.

Change-Id: Ib2c8d459bb50c30dc32a4ea1fdedc152c09a3a0f
This commit is contained in:
Sami Tolvanen 2015-09-15 17:21:15 +01:00
parent 0b932a7499
commit beae6395fc
1 changed files with 13 additions and 9 deletions

View File

@ -14,15 +14,19 @@
# limitations under the License. # limitations under the License.
# #
# Provides dependencies necessary for verified boot # Provides dependencies necessary for verified boot (only for user and
# userdebug builds)
PRODUCT_SUPPORTS_BOOT_SIGNER := true user_variant := $(filter user userdebug,$(TARGET_BUILD_VARIANT))
PRODUCT_SUPPORTS_VERITY := true ifneq (,$(user_variant))
PRODUCT_SUPPORTS_BOOT_SIGNER := true
PRODUCT_SUPPORTS_VERITY := true
# The dev key is used to sign boot and recovery images, and the verity # The dev key is used to sign boot and recovery images, and the verity
# metadata table. Actual product deliverables will be re-signed by hand. # metadata table. Actual product deliverables will be re-signed by hand.
# We expect this file to exist with the suffixes ".x509.pem" and ".pk8". # We expect this file to exist with the suffixes ".x509.pem" and ".pk8".
PRODUCT_VERITY_SIGNING_KEY := build/target/product/security/verity PRODUCT_VERITY_SIGNING_KEY := build/target/product/security/verity
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
verity_key verity_key
endif