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

Commit 53c816f7 authored by Jiyong Park's avatar Jiyong Park
Browse files

Don't check VNDK lib list for PDK builds

Some libs, such as libandroid_net.so and some other Renderscript related
ones, can't be built in PDK due to missing frameworks/base.

Bug: 118634643
Test: build PDK; build doesn't break due to missing VNDK libs

Change-Id: Ic2bf657d796c2044c3b8f49b2963ca84760d54d1
parent a39bb7f2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -42,6 +42,10 @@ check-vndk-list-timestamp := $(call intermediates-dir-for,PACKAGING,vndk)/check-
ifeq ($(TARGET_IS_64_BIT)|$(TARGET_2ND_ARCH),true|)
# TODO(b/110429754) remove this condition when we support 64-bit-only device
check-vndk-list: ;
else ifeq ($(TARGET_BUILD_PDK),true)
# b/118634643: don't check VNDK lib list when building PDK. Some libs (libandroid_net.so
# and some render-script related ones) can't be built in PDK due to missing frameworks/base.
check-vndk-list: ;
else
check-vndk-list: $(check-vndk-list-timestamp)
endif