Conditionally skip boot jars package name check.

In PDK build, or when a product adds its own boot jars we skip the
check.

Bug: 17434570
Change-Id: I9096ebfa38280c5d2ca84bdc489b455876103f5d
This commit is contained in:
Ying Wang 2014-09-11 17:40:29 -07:00
parent 48c37182f0
commit 46526ff69e
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,8 @@
# Rules to check if classes in the boot jars are from the whitelisted packages.
#
ifneq ($(SKIP_BOOT_JARS_CHECK),true)
ifneq ($(TARGET_BUILD_PDK),true)
ifdef PRODUCT_BOOT_JARS
intermediates := $(call intermediates-dir-for, PACKAGING, boot-jars-package-check,,COMMON)
@ -40,3 +42,5 @@ check-boot-jars : $(stamp)
droidcore : check-boot-jars
endif # PRODUCT_BOOT_JARS
endif # TARGET_BUILD_PDK not true
endif # SKIP_BOOT_JARS_CHECK not true