shamp: Create soong config variable for vendors
Bug: 328704096 The soong config variable should be defined for all pixel products to enforce backwards compatability (ensure that this is never built for non enabled devices). In the case where `SHARED_MODEM_PLATFORM` is not defined, then the soong config variable will choose the default placeholder implmentation. Doc: go/shared-modem-platform-cpp-backend Test: Build for enabled and disabled targets and ensure that the correct version of `shared_modem_platform` is being built. Change-Id: I06ebdada2324fdd86cbb7718fd66602dd52070ea
This commit is contained in:
parent
5cb8b637f6
commit
c14a6a75cc
9
modem/shared_modem_platform/shared_modem_platform.mk
Normal file
9
modem/shared_modem_platform/shared_modem_platform.mk
Normal file
@ -0,0 +1,9 @@
|
||||
# This file is not included in `modem.mk` since this is included at the
|
||||
# beginning of each `device.mk` file, and so will be called before
|
||||
# `SHARED_MODEM_PLATFORM_VENDOR` is defined later in the file.
|
||||
SOONG_CONFIG_NAMESPACES += shared_modem_platform
|
||||
SOONG_CONFIG_shared_modem_platform += \
|
||||
vendor
|
||||
SOONG_CONFIG_shared_modem_platform_vendor := $(SHARED_MODEM_PLATFORM_VENDOR)
|
||||
|
||||
PRODUCT_PACKAGES += shared_modem_platform
|
Loading…
x
Reference in New Issue
Block a user