gs201: exclude vendor telephony code if BOARD_WITHOUT_RADIO am: 312ccd4c63

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19287668

Change-Id: I6452343fc7c6dcf0a21c0a40d0dddda392279d76
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Roger Liao 2022-07-27 02:40:20 +00:00 committed by Automerger Merge Worker
commit 6ecbf7e671
2 changed files with 6 additions and 0 deletions

View file

@ -14,7 +14,9 @@
# limitations under the License. # limitations under the License.
# #
ifneq ($(BOARD_WITHOUT_RADIO),true)
-include vendor/google_devices/gs201/proprietary/telephony/device-vendor.mk -include vendor/google_devices/gs201/proprietary/telephony/device-vendor.mk
endif
include device/google/gs201/device.mk include device/google/gs201/device.mk
include device/google/gs101/tts/voice_packs.mk include device/google/gs101/tts/voice_packs.mk

View file

@ -60,9 +60,11 @@ LOCAL_KERNEL := $(TARGET_KERNEL_DIR)/Image.lz4
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
ro.oem_unlock_supported=1 ro.oem_unlock_supported=1
ifneq ($(BOARD_WITHOUT_RADIO),true)
# Include vendor telephony soong namespace # Include vendor telephony soong namespace
PRODUCT_SOONG_NAMESPACES += \ PRODUCT_SOONG_NAMESPACES += \
vendor/samsung_slsi/telephony/$(BOARD_USES_SHARED_VENDOR_TELEPHONY) vendor/samsung_slsi/telephony/$(BOARD_USES_SHARED_VENDOR_TELEPHONY)
endif
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
#Set IKE logs to verbose for WFC #Set IKE logs to verbose for WFC
@ -848,6 +850,7 @@ PRODUCT_PACKAGES += \
calliope_iva.bin \ calliope_iva.bin \
vts.bin vts.bin
ifneq ($(BOARD_WITHOUT_RADIO),true)
# This will be called only if IMSService is building with source code for dev branches. # This will be called only if IMSService is building with source code for dev branches.
$(call inherit-product-if-exists, vendor/samsung_slsi/telephony/$(BOARD_USES_SHARED_VENDOR_TELEPHONY)/shannon-ims/device-vendor.mk) $(call inherit-product-if-exists, vendor/samsung_slsi/telephony/$(BOARD_USES_SHARED_VENDOR_TELEPHONY)/shannon-ims/device-vendor.mk)
@ -858,6 +861,7 @@ PRODUCT_PACKAGES_DEBUG += \
TestRcsApp TestRcsApp
PRODUCT_PACKAGES += ShannonRcs PRODUCT_PACKAGES += ShannonRcs
endif
# Boot Control HAL # Boot Control HAL
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \