1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.7 KiB

#
# Copyright 2016 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
ifeq ($(BUILD_WITH_EC20),true)
ENABLE_VENDOR_LIBRIL := true
DEVICE_MANIFEST_FILE += vendor/quectel/ec20/config/manifest.xml
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += vendor/quectel/ec20/config/device_framework_matrix.xml
PRODUCT_PACKAGES += \
libquectel-ril \
CarrierDefaultApp \
CarrierConfig \
messaging \
rild
PRODUCT_COPY_FILES += \
vendor/quectel/ec20/libquectel-ril/ql-ril.conf:vendor/etc/ql-ril.conf \
vendor/quectel/ec20/config/apns-conf.xml:system/etc/apns-conf.xml
PRODUCT_PROPERTY_OVERRIDES += \
ro.radio.ril_wait=3000 \
ro.telephony.default_network=9 \
vendor.rild.libpath=/vendor/lib64/libquectel-ril.so
PRODUCT_VENDOR_PROPERTIES += \
keyguard.no_require_sim?=true \
ro.com.android.dataroaming?=true
ifeq ($(BOARD_HAS_GPS),true)
DEVICE_MANIFEST_FILE += vendor/quectel/ec20/config/gnss.xml
PRODUCT_PACKAGES += \
gps.default \
android.hardware.gnss@1.0-impl \
android.hardware.gnss@1.0-service
PRODUCT_COPY_FILES += \
vendor/quectel/ec20/libquectel-gps/gps_cfg.inf:vendor/etc/gps_cfg.inf
endif
endif ### BUILD_WITH_EC20 ###