Merge "Remove pdk_build Soong variable." into main

This commit is contained in:
Krzysztof Kosiński 2024-06-13 04:04:29 +00:00 committed by Android (Google) Code Review
commit ac7885c734

View file

@ -11,13 +11,8 @@ ifneq ($(wildcard vendor/google/services/LyricCameraHAL/src),)
$(call soong_config_set,gch,hwl_library,lyric) $(call soong_config_set,gch,hwl_library,lyric)
endif endif
# Check if we're in PDK build # Check if we're in the internal build
ifeq ($(wildcard vendor/google/camera),) ifneq ($(wildcard vendor/google/camera),)
# If vendor/google/camera doesn't exist, it's a PDK build.
$(call soong_config_set,lyric,pdk_build,true)
else
# Otherwise, it's an internal Google build.
$(call soong_config_set,lyric,pdk_build,false)
PRODUCT_SOONG_NAMESPACES += \ PRODUCT_SOONG_NAMESPACES += \
vendor/google/camera \ vendor/google/camera \