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

Commit 8d542924 authored by Colin Cross's avatar Colin Cross Committed by Android (Google) Code Review
Browse files

Merge "Don't default my_use_profile_for_boot_image to true for PDK builds"

parents 8fe656fe 83bae866
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -91,9 +91,12 @@ LIBART_TARGET_BOOT_ART_EXTRA_FILES += boot.oat boot.vdex
# If we use a boot image profile.
my_use_profile_for_boot_image := $(PRODUCT_USE_PROFILE_FOR_BOOT_IMAGE)
ifeq (,$(my_use_profile_for_boot_image))
# If not set, use the default.
# If not set, set the default to true if we are not a PDK build. PDK builds
# can't build the profile since they don't have frameworks/base.
ifneq (true,$(TARGET_BUILD_PDK))
my_use_profile_for_boot_image := true
endif
endif

ifeq (true,$(my_use_profile_for_boot_image))