HIDL Extension
Prevent building of android.hardware.gnss@1.0-service-qti if non-PDK build. CRs-fixed: 2040636 Change-Id: Ic6ee787d7fca93f649cd1f2bbd7be46cdefc809f
This commit is contained in:
parent
4fc254c9a9
commit
d640d06213
1 changed files with 9 additions and 0 deletions
|
@ -47,6 +47,14 @@ LOCAL_SHARED_LIBRARIES += \
|
|||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
BUILD_GNSS_HIDL_SERVICE := true
|
||||
ifneq ($(BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET), true)
|
||||
ifneq ($(LW_FEATURE_SET),true)
|
||||
BUILD_GNSS_HIDL_SERVICE := false
|
||||
endif # LW_FEATURE_SET
|
||||
endif # BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET
|
||||
|
||||
ifeq ($(BUILD_GNSS_HIDL_SERVICE), true)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := android.hardware.gnss@1.0-service-qti
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
|
||||
|
@ -77,3 +85,4 @@ LOCAL_SHARED_LIBRARIES += \
|
|||
android.hardware.gnss@1.0 \
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
endif # BUILD_GNSS_HIDL_SERVICE
|
||||
|
|
Loading…
Reference in a new issue