Merge pull request #19 from nanoandrew4/fix-gms-core-opt-lib

Add legacy apache http lib as optional lib for GmsCore
This commit is contained in:
Philip Nagler-Frank 2023-01-22 19:16:01 +01:00 committed by GitHub
commit b3451e8434
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ LOCAL_REQUIRED_MODULES := privapp-permissions-com.google.android.gms.xml default
# these lines will break builds before 19.1 so make them conditional
ifneq ($(call math_gt_or_eq, $(PLATFORM_SDK_VERSION), 31),)
LOCAL_USES_LIBRARIES := com.android.location.provider
LOCAL_OPTIONAL_USES_LIBRARIES := androidx.window.extensions androidx.window.sidecar
LOCAL_OPTIONAL_USES_LIBRARIES := org.apache.http.legacy androidx.window.extensions androidx.window.sidecar
endif
LOCAL_PRODUCT_MODULE := true
include $(BUILD_PREBUILT)