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

Commit 46526ff6 authored by Ying Wang's avatar Ying Wang
Browse files

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
parent 48c37182
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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