Don't default my_use_profile_for_boot_image to true for PDK builds

This causes an unsatisfiable dependency on frameworks/base.

Bug: 67663308
Test: make

(cherry-picked from commit 83bae866e6fe51cd2d6883a8cec29445e1c094f7)

Change-Id: Iba0c3893b49386591f84eb893abf0b577b9716a0
Merged-In: I06e45e8ca66ab6547bf1df25119dda80d44e50f6
diff --git a/core/dex_preopt_libart.mk b/core/dex_preopt_libart.mk
index dbdda8b..20d43dc 100644
--- a/core/dex_preopt_libart.mk
+++ b/core/dex_preopt_libart.mk
@@ -93,9 +93,12 @@
 # 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))