android_device_asus_deb/device.mk
Kevin F. Haggerty 9b7d17b388 deb: Don't let builds complete without vendor tree
* There is zero reason to ever build without blobs. We've even seen
  this situation with official builds from our servers. It's always
  better for a build to fail than it is for it to produce something
  that has no chance at working.

Change-Id: I4968795670c91f691e9ecdc0e4af62e16ba3a93a
2021-11-24 17:07:00 +01:00

51 lines
1.5 KiB
Makefile

#
# Copyright 2013 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.
#
# rild
PRODUCT_PACKAGES := \
rild \
CarrierConfig \
BasicSmsReceiver
# Features
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml
# Camera
PRODUCT_PACKAGES += \
camera.deb
PRODUCT_PACKAGES += \
hostapd_default.conf
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
rild.libpath=/system/vendor/lib/libril-qc-qmi-1.so
# the actual meat of the device-specific product definition
$(call inherit-product, device/asus/flo/device-common.mk)
# inherit from the non-open-source side, if present
$(call inherit-product, vendor/asus/deb/deb-vendor.mk)
DEVICE_PACKAGE_OVERLAYS += \
device/asus/deb/overlay
PRODUCT_ENFORCE_RRO_TARGETS := \
framework-res
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/etc/fstab.deb:$(TARGET_COPY_OUT_RAMDISK)/fstab.flo \
$(LOCAL_PATH)/rootdir/etc/fstab.deb:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.flo